[MM-59480] Fix crash on Windows caused by titlebar overlay (#3108)

This commit is contained in:
Devin Binnie
2024-07-24 17:49:42 -04:00
committed by GitHub
parent e2cc1cee4b
commit 7af6601e23

View File

@@ -560,7 +560,9 @@ export class MainWindow extends EventEmitter {
};
private handleUpdateTitleBarOverlay = () => {
if (process.platform === 'linux') {
this.win?.setTitleBarOverlay?.(this.getTitleBarOverlay());
}
};
}