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

+ 3 - 3
src/main/frontend/modules/shortcut/before.cljs

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