Reorder IPC callbacks for settings window
This commit is contained in:
parent
5c7972893c
commit
4bed918cf8
6 changed files with 19 additions and 15 deletions
7
main.js
7
main.js
|
@ -319,12 +319,7 @@ function handleCommonWindowEvents(window) {
|
|||
}
|
||||
|
||||
if (window.webContents) {
|
||||
window.webContents.send('callbacks:call:setPassiveZoomFactor', [
|
||||
zoomFactor,
|
||||
]);
|
||||
if (settingsWindow && settingsWindow.webContents) {
|
||||
settingsWindow.webContents.send('render');
|
||||
}
|
||||
window.webContents.send('callbacks:call:persistZoomFactor', [zoomFactor]);
|
||||
}
|
||||
|
||||
lastZoomFactor = zoomFactor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue