[MM-59480] Fix crash on Windows caused by titlebar overlay (#3108)
This commit is contained in:
parent
e2cc1cee4b
commit
7af6601e23
|
@ -560,7 +560,9 @@ export class MainWindow extends EventEmitter {
|
|||
};
|
||||
|
||||
private handleUpdateTitleBarOverlay = () => {
|
||||
if (process.platform === 'linux') {
|
||||
this.win?.setTitleBarOverlay?.(this.getTitleBarOverlay());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue