File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
arduino-ide-extension/src/browser/contributions Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -120,11 +120,12 @@ export class InterfaceScale extends Contribution {
120
120
this . mainMenuManager . update ( ) ;
121
121
}
122
122
123
- private async updateFontSize ( mode : 'increase' | 'decrease' ) : Promise < void > {
123
+ private updateFontSize ( mode : 'increase' | 'decrease' ) : void {
124
124
if ( this . currentSettings . autoScaleInterface ) {
125
125
mode === 'increase'
126
126
? ( this . currentSettings . interfaceScale += InterfaceScale . ZoomLevel . STEP )
127
- : ( this . currentSettings . interfaceScale -= InterfaceScale . ZoomLevel . STEP ) ;
127
+ : ( this . currentSettings . interfaceScale -=
128
+ InterfaceScale . ZoomLevel . STEP ) ;
128
129
} else {
129
130
mode === 'increase'
130
131
? ( this . currentSettings . editorFontSize += InterfaceScale . FontSize . STEP )
You can’t perform that action at this time.
0 commit comments