|
@@ -150,6 +150,18 @@
|
|
|
:whiteboard/toggle-grid {:binding "t g"
|
|
|
:fn #(.toggleGrid (.-api ^js (state/active-tldraw-app)))}
|
|
|
|
|
|
+ :whiteboard/clone-right {:binding (if mac? "ctrl+shift+right" "alt+right")
|
|
|
+ :fn #(.clone (.-api ^js (state/active-tldraw-app)) "right")}
|
|
|
+
|
|
|
+ :whiteboard/clone-left {:binding (if mac? "ctrl+shift+left" "alt+left")
|
|
|
+ :fn #(.clone (.-api ^js (state/active-tldraw-app)) "left")}
|
|
|
+
|
|
|
+ :whiteboard/clone-up {:binding (if mac? "ctrl+shift+up" "alt+up")
|
|
|
+ :fn #(.clone (.-api ^js (state/active-tldraw-app)) "up")}
|
|
|
+
|
|
|
+ :whiteboard/clone-down {:binding (if mac? "ctrl+shift+down" "alt+down")
|
|
|
+ :fn #(.clone (.-api ^js (state/active-tldraw-app)) "down")}
|
|
|
+
|
|
|
:auto-complete/complete {:binding "enter"
|
|
|
:fn ui-handler/auto-complete-complete}
|
|
|
|
|
@@ -867,7 +879,11 @@
|
|
|
:whiteboard/unlock
|
|
|
:whiteboard/group
|
|
|
:whiteboard/ungroup
|
|
|
- :whiteboard/toggle-grid]
|
|
|
+ :whiteboard/toggle-grid
|
|
|
+ :whiteboard/clone-left
|
|
|
+ :whiteboard/clone-right
|
|
|
+ :whiteboard/clone-top
|
|
|
+ :whiteboard/clone-bottom]
|
|
|
|
|
|
:shortcut.category/others
|
|
|
[:pdf/previous-page
|