mirror of
https://github.com/logseq/logseq.git
synced 2026-05-26 21:54:26 +00:00
enhance: hide action bar after pressing arrows
This commit is contained in:
@@ -1625,10 +1625,8 @@
|
||||
(set-loading! false))))))
|
||||
[])
|
||||
(if loading?
|
||||
[:div.flex.flex-col.space-2.gap-2
|
||||
(shui/skeleton {:class "h-6 w-full"})
|
||||
[:div.flex.flex-col.space-2.gap-2
|
||||
(repeat 25 (shui/skeleton {:class "h-6 w-full"}))]]
|
||||
[:div.flex.flex-col.space-2.gap-2.my-2
|
||||
(repeat 25 (shui/skeleton {:class "h-6 w-full"}))]
|
||||
(view-container view-entity (assoc option
|
||||
:items-count items-count
|
||||
:views views
|
||||
|
||||
@@ -1827,6 +1827,7 @@
|
||||
[up?]
|
||||
(fn [event]
|
||||
(util/stop event)
|
||||
(state/pub-event! [:editor/hide-action-bar])
|
||||
(let [edit-block-id (:block/uuid (state/get-edit-block))
|
||||
move-nodes (fn [blocks]
|
||||
(let [blocks' (block-handler/get-top-level-blocks blocks)
|
||||
@@ -2972,6 +2973,7 @@
|
||||
(state/selection?)
|
||||
(do
|
||||
(util/stop e)
|
||||
(state/pub-event! [:editor/hide-action-bar])
|
||||
(on-tab direction)))
|
||||
nil))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user