SDA-3437 - Fix event not being emitter due to throttle (#1291)

This commit is contained in:
Kiran Niranjan 2021-11-10 06:53:00 +05:30 committed by GitHub
parent e50c6fe379
commit 68cdbca3c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1085,6 +1085,7 @@ export const loadBrowserViews = async (
y: 0,
});
}, 500);
mainEvents.publish('enter-full-screen');
});
mainWindow?.on('leave-full-screen', () => {
if (
@ -1115,6 +1116,7 @@ export const loadBrowserViews = async (
mainView.webContents.toggleDevTools();
}
}, 500);
mainEvents.publish('leave-full-screen');
});
mainWindow?.on('maximize', () => {