Vanessa 2023-06-10 16:27:52 +08:00
parent bf96331cf6
commit f56d6de5ce
9 changed files with 138 additions and 58 deletions

View file

@ -391,7 +391,7 @@ export const globalShortcut = (app: App) => {
});
window.addEventListener("keydown", (event) => {
if (document.getElementById("errorLog") || event.isComposing) {
if (document.querySelector(".av__mask") || document.getElementById("errorLog") || event.isComposing) {
return;
}
const target = event.target as HTMLElement;