diff options
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/window-controller.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts index 830f6fd1af..b18775a8b5 100644 --- a/gui/src/main/window-controller.ts +++ b/gui/src/main/window-controller.ts @@ -271,6 +271,10 @@ export default class WindowController { _display: Display, changedMetrics: string[], ) => { + if (changedMetrics.includes('scaleFactor')) { + IpcMainEventChannel.window.notifyScaleFactorChange?.(); + } + if (changedMetrics.includes('workArea') && this.window?.isVisible()) { this.onWorkAreaSizeChange(); if (process.platform === 'win32') { |
