mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 11:26:26 +00:00
enhance(editor): scroll to the top of right sidebar when shift+click
This commit is contained in:
@@ -588,7 +588,9 @@
|
||||
(cons [repo db-id block-type block-data])
|
||||
; FIXME: No need to call `distinct`?
|
||||
(distinct))))
|
||||
(open-right-sidebar!)))
|
||||
(open-right-sidebar!)
|
||||
(when-let [elem (gdom/getElement "right-sidebar")]
|
||||
(util/scroll-to elem 0))))
|
||||
|
||||
(defn sidebar-remove-block!
|
||||
[idx]
|
||||
|
||||
Reference in New Issue
Block a user