mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 17:28:50 +01:00
This commit is contained in:
parent
200c1fb127
commit
8dd5250944
1 changed files with 3 additions and 2 deletions
|
|
@ -1436,7 +1436,8 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
}
|
||||
|
||||
// 闪卡长按 Esc 光标定位到闪卡按钮上 https://github.com/siyuan-note/siyuan/issues/12989
|
||||
if (document.activeElement && hasClosestByClassName(document.activeElement, "card__action")) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/14730
|
||||
if (event.repeat && document.activeElement && hasClosestByClassName(document.activeElement, "card__action")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -1736,7 +1737,7 @@ export const sendGlobalShortcut = (app: App) => {
|
|||
};
|
||||
|
||||
|
||||
export const sendUnregisterGlobalShortcut = (app:App) => {
|
||||
export const sendUnregisterGlobalShortcut = (app: App) => {
|
||||
/// #if !BROWSER
|
||||
ipcRenderer.send(Constants.SIYUAN_CMD, {
|
||||
cmd: "unregisterGlobalShortcut",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue