Merge pull request #1025 from Araxeus/fix-PiP-hotkey-active-in-search

[PiP] fix hotkey activating when typing in the search box
This commit is contained in:
th-ch
2023-02-12 18:34:29 +01:00
committed by GitHub
4 changed files with 21 additions and 6 deletions

View File

@ -92,9 +92,6 @@ module.exports = (_win, _options) => {
ipcMain.on("picture-in-picture", async () => {
await togglePiP();
});
if (options.hotkey) {
electronLocalshortcut.register(win, options.hotkey, togglePiP);
}
};
module.exports.setOptions = setLocalOptions;