fix PiP hotkey active in searchbox

This commit is contained in:
Araxeus
2023-02-10 20:14:07 +02:00
parent 7bdbab5a2d
commit d9f1c589e9
4 changed files with 22 additions and 7 deletions

View File

@ -103,9 +103,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;