Peng Xiao 3 лет назад
Родитель
Сommit
288d37602f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/main/frontend/modules/shortcut/before.cljs

+ 2 - 1
src/main/frontend/modules/shortcut/before.cljs

@@ -35,5 +35,6 @@
   (fn [e]
     (when (and (or (contains? #{:srs} (state/get-modal-id))
                    (not (state/block-component-editing?)))
-               (not (whiteboard/tldraw-idle?)))
+               (not (and (whiteboard/tldraw-idle?)
+                         (not (state/editing?)))))
       (f e))))