mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
enhance: bottom bar to show undo mode
This commit is contained in:
@@ -2095,13 +2095,3 @@ Similar to re-frame subscriptions"
|
||||
(defn clear-user-info!
|
||||
[]
|
||||
(storage/remove :user-groups))
|
||||
|
||||
(defn toggle-undo-redo-mode!
|
||||
[]
|
||||
(if (:history/page-only-mode? @state)
|
||||
(swap! state assoc
|
||||
:history/page-only-mode? false
|
||||
:history/page nil)
|
||||
(swap! state assoc
|
||||
:history/page-only-mode? true
|
||||
:history/page nil)))
|
||||
|
||||
Reference in New Issue
Block a user