Browse Source

fix: delete selection shortcut on whiteboards

Konstantinos Kaloutas 2 years ago
parent
commit
fdcf2820f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 1 - 1
src/main/frontend/handler/editor.cljs

@@ -3118,7 +3118,7 @@
     (state/selection?)
     (shortcut-delete-selection e)
 
-    (whiteboard?)
+    (and (whiteboard?) (not (state/editing?)))
     (.deleteShapes (.-api ^js (state/active-tldraw-app)))
 
     :else