wip: add selection bar

This commit is contained in:
Tienson Qin
2025-05-28 17:19:50 +08:00
parent d1b5fabc45
commit db2810a286
4 changed files with 33 additions and 61 deletions

View File

@@ -365,14 +365,11 @@
(do
(state/clear-edit!)
(state/conj-selection-block! block-container nil)))
(haptics/haptics))
;; (haptics/with-haptics-impact
;; (do (state/set-state! :mobile/show-action-bar? true)
;; (state/set-state! :mobile/actioned-block block)
;; (select-block! uuid))
;; :light)
)
(when (seq (state/get-selection-blocks))
(state/set-state! :mobile/show-action-bar? true)
;; (state/set-state! :mobile/actioned-block )
)
(haptics/haptics)))
(reset! *swiped? false)
(catch :default e
(js/console.error e))