ref: mouse-osx 替换为 iohook

This commit is contained in:
muwoo
2021-07-07 13:46:45 +08:00
parent 5555275280
commit f9b0177c00
11 changed files with 134 additions and 66 deletions

View File

@@ -5,11 +5,6 @@ document.querySelector(
"#picker"
).style.border = `10px solid rgba(200, 200, 200, 0.3)`;
document.addEventListener(
"DOMContentLoaded",
() => ipcRenderer.send("pickerRequested"),
false
);
document.addEventListener(
"keydown",
(event) => {