mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 16:30:37 -05:00
🐛 Fix problem with selection shortcuts
This commit is contained in:
parent
e40245e187
commit
66e32e9cbd
3 changed files with 6 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
||||||
- Fix context menu outside screen [Taiga #5524](https://tree.taiga.io/project/penpot/issue/5524)
|
- 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 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 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!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
||||||
|
|
|
@ -938,7 +938,10 @@
|
||||||
(rx/of (dwe/start-edition-mode id))
|
(rx/of (dwe/start-edition-mode id))
|
||||||
|
|
||||||
(:group :bool :frame)
|
(: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
|
:svg-raw
|
||||||
nil
|
nil
|
||||||
|
|
|
@ -249,7 +249,7 @@
|
||||||
(lookup uuid/zero))
|
(lookup uuid/zero))
|
||||||
|
|
||||||
toselect (->> (cph/get-immediate-children objects (:id parent))
|
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))))))
|
(rx/of (select-shapes toselect))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue