mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Revert "SDA-4422 Bug - Workaroud for frameless transparent windows titlebar being displayed (#2041)" (#2048)
This reverts commit 8422af2faa
.
This commit is contained in:
parent
1134ebbefe
commit
b28e896d54
@ -227,16 +227,6 @@ export const createComponentWindow = (
|
||||
browserWindow.show();
|
||||
});
|
||||
}
|
||||
|
||||
// SDA-4422 workaround
|
||||
if (!options.frame && options.transparent) {
|
||||
browserWindow.on('blur', () => {
|
||||
browserWindow.setBackgroundColor('#00000000');
|
||||
});
|
||||
browserWindow.on('focus', () => {
|
||||
browserWindow.setBackgroundColor('#00000000');
|
||||
});
|
||||
}
|
||||
browserWindow.webContents.once('did-finish-load', () => {
|
||||
if (!browserWindow || !windowExists(browserWindow)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user