划选结束后再统计字数

This commit is contained in:
Vanessa 2022-06-28 18:39:24 +08:00
parent 721676d07a
commit 548f55e608
2 changed files with 9 additions and 5 deletions

View file

@ -157,6 +157,7 @@ export const globalShortcut = () => {
});
window.addEventListener("keyup", (event) => {
console.log(event)
window.siyuan.ctrlIsPressed = false;
window.siyuan.shiftIsPressed = false;
window.siyuan.altIsPressed = false;