small fixes

This commit is contained in:
2026-02-27 00:34:34 -08:00
parent 5ef3396205
commit 603af36a48
5 changed files with 113 additions and 20 deletions

View File

@@ -117,7 +117,7 @@ export function createOverlayWindow(
window.webContents.on('before-input-event', (event, input) => {
if (kind === 'modal') return;
if (!options.isOverlayVisible(kind)) return;
if (!window.isVisible()) return;
if (!options.tryHandleOverlayShortcutLocalFallback(input)) return;
event.preventDefault();
});