Vanessa 2023-04-03 19:50:25 +08:00 committed by Liang Ding
parent 615959d505
commit b2c03f2d1e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
8 changed files with 46 additions and 14 deletions

View file

@ -620,7 +620,7 @@ export const globalShortcut = () => {
if (matchDock) {
return;
}
if (matchHotKey(window.siyuan.config.keymap.general.riffCard.custom, event)) {
if (!isTabWindow && matchHotKey(window.siyuan.config.keymap.general.riffCard.custom, event)) {
openCard();
if (document.activeElement) {
(document.activeElement as HTMLElement).blur();