We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0048b29 commit 2b3eeedCopy full SHA for 2b3eeed
arduino-ide-extension/src/browser/contributions/interface-scale.ts
@@ -120,11 +120,12 @@ export class InterfaceScale extends Contribution {
120
this.mainMenuManager.update();
121
}
122
123
- private async updateFontSize(mode: 'increase' | 'decrease'): Promise<void> {
+ private updateFontSize(mode: 'increase' | 'decrease'): void {
124
if (this.currentSettings.autoScaleInterface) {
125
mode === 'increase'
126
? (this.currentSettings.interfaceScale += InterfaceScale.ZoomLevel.STEP)
127
- : (this.currentSettings.interfaceScale -= InterfaceScale.ZoomLevel.STEP);
+ : (this.currentSettings.interfaceScale -=
128
+ InterfaceScale.ZoomLevel.STEP);
129
} else {
130
131
? (this.currentSettings.editorFontSize += InterfaceScale.FontSize.STEP)
0 commit comments