Fix pencil not working if drawing quickly (replace tldraw's undo/redo history with logseq's) (#7786)

* fix: pencil not working if drawing quickly

* feat: mod+c mod+g to toggle grid

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
This commit is contained in:
Tienson Qin
2023-02-22 23:16:52 +08:00
committed by GitHub
parent 46d3cb516a
commit 6a5b0c8199
20 changed files with 373 additions and 213 deletions

View File

@@ -239,7 +239,7 @@
:editor/undo {:binding "mod+z"
:fn history/undo!}
:editor/redo {:binding ["shift+mod+z" "mod+y"]
:editor/redo {:binding ["mod+shift+z" "mod+y"]
:fn history/redo!}
:editor/insert-link {:binding "mod+l"
@@ -573,8 +573,6 @@
:editor/copy
:editor/copy-text
:editor/cut
:editor/undo
:editor/redo
:command/toggle-favorite])
(with-meta {:before m/enable-when-not-component-editing!}))
@@ -584,6 +582,8 @@
:editor/select-all-blocks
:editor/zoom-in
:editor/zoom-out
:editor/undo
:editor/redo
:ui/toggle-brackets
:go/search-in-page
:go/search