mirror of
https://github.com/penpot/penpot.git
synced 2025-07-05 00:57:16 +02:00
🐛 Fix problem with selection shortcuts
This commit is contained in:
parent
e40245e187
commit
66e32e9cbd
3 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue