mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
Differentiate between refresh/toggle menu
+ visible now checks the actual state to fix PiP bugs
This commit is contained in:
@ -17,7 +17,7 @@ module.exports = (win) => {
|
||||
attachTitlebarToWindow(win);
|
||||
|
||||
electronLocalshortcut.register(win, "`", () => {
|
||||
win.webContents.send("refreshMenu", true);
|
||||
win.webContents.send("toggleMenu");
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user