Differentiate between refresh/toggle menu

+ visible now checks the actual state to fix PiP bugs
This commit is contained in:
Araxeus
2023-01-19 02:32:57 +02:00
parent 5909af42d2
commit 1eb0269434
2 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ module.exports = (win) => {
attachTitlebarToWindow(win);
electronLocalshortcut.register(win, "`", () => {
win.webContents.send("refreshMenu", true);
win.webContents.send("toggleMenu");
});
});
};