File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1050,12 +1050,12 @@ export class Editor extends toolboxeditor.ToolboxEditor {
10501050
10511051 zoomIn ( ) {
10521052 if ( ! this . editor ) return ;
1053- this . editor . zoomCenter ( 0.8 ) ;
1053+ this . editor . zoomCenter ( 5 ) ;
10541054 }
10551055
10561056 zoomOut ( ) {
10571057 if ( ! this . editor ) return ;
1058- this . editor . zoomCenter ( - 0.8 ) ;
1058+ this . editor . zoomCenter ( - 5 ) ;
10591059 }
10601060
10611061 setScale ( scale : number ) {
Original file line number Diff line number Diff line change @@ -1283,7 +1283,7 @@ export class Editor extends toolboxeditor.ToolboxEditor {
12831283 if ( ! this . editor ) return ;
12841284 if ( this . parent . settings . editorFontSize >= MAX_EDITOR_FONT_SIZE ) return ;
12851285 let currentFont = this . getEditorFontSize ( ) ;
1286- this . parent . settings . editorFontSize = currentFont + 1 ;
1286+ this . parent . settings . editorFontSize = currentFont + 3 ;
12871287 this . editor . updateOptions ( { fontSize : this . parent . settings . editorFontSize } ) ;
12881288 this . forceDiagnosticsUpdate ( ) ;
12891289 }
@@ -1292,7 +1292,7 @@ export class Editor extends toolboxeditor.ToolboxEditor {
12921292 if ( ! this . editor ) return ;
12931293 if ( this . parent . settings . editorFontSize <= MIN_EDITOR_FONT_SIZE ) return ;
12941294 let currentFont = this . getEditorFontSize ( ) ;
1295- this . parent . settings . editorFontSize = currentFont - 1 ;
1295+ this . parent . settings . editorFontSize = currentFont - 3 ;
12961296 this . editor . updateOptions ( { fontSize : this . parent . settings . editorFontSize } ) ;
12971297 this . forceDiagnosticsUpdate ( ) ;
12981298 }
You can’t perform that action at this time.
0 commit comments