0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00

🐛 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

@ -31,6 +31,7 @@
- Fix context menu outside screen [Taiga #5524](https://tree.taiga.io/project/penpot/issue/5524)
- Fix graphic item rename on assets pannel [Taiga #5556](https://tree.taiga.io/project/penpot/issue/5556)
- Fix component and media name validation on assets panel [Taiga #5555](https://tree.taiga.io/project/penpot/issue/5555)
- Fix problem with selection shortcuts [Taiga #5492](https://tree.taiga.io/project/penpot/issue/5492)
### :heart: Community contributions by (Thank you!)

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))))))