Skip to content

Commit 95b1b4d

Browse files
author
Akos Kitta
committed
Fixed incorrect app layout on start.
Set the zoom level, when the app is ready. Closes #1244. Signed-off-by: Akos Kitta <[email protected]>
1 parent 45da2e0 commit 95b1b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class ArduinoFrontendContribution
104104
}
105105
}
106106
});
107-
this.appStateService.reachedState('initialized_layout').then(() =>
107+
this.appStateService.reachedState('ready').then(() =>
108108
this.arduinoPreferences.ready.then(() => {
109109
const webContents = remote.getCurrentWebContents();
110110
const zoomLevel = this.arduinoPreferences.get(

0 commit comments

Comments
 (0)