🐛 Fix problem with selection shortcuts

This commit is contained in:
alonso.torres 2023-07-03 13:54:39 +02:00
parent e40245e187
commit 66e32e9cbd
3 changed files with 6 additions and 2 deletions

View file

@ -938,7 +938,10 @@
(rx/of (dwe/start-edition-mode id))
(:group :bool :frame)
(rx/of (dws/select-shapes (into (d/ordered-set) shapes)))
(let [shapes-ids (into (d/ordered-set)
(remove #(dm/get-in objects [% :hidden]))
shapes)]
(rx/of (dws/select-shapes shapes-ids)))
:svg-raw
nil

View file

@ -249,7 +249,7 @@
(lookup uuid/zero))
toselect (->> (cph/get-immediate-children objects (:id parent))
(into (d/ordered-set) (comp (remove :blocked) (map :id))))]
(into (d/ordered-set) (comp (remove :hidden) (remove :blocked) (map :id))))]
(rx/of (select-shapes toselect))))))