mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
Merge pull request #2184 from penpot/palba-fix-multiselection-assets
🐛 Fix multiselection with shift not working inside a library group
This commit is contained in:
commit
595700f8b3
2 changed files with 6 additions and 7 deletions
|
@ -54,6 +54,7 @@
|
|||
- Fix props preserving on copy&paste texts [Taiga #3629](https://tree.taiga.io/project/penpot/issue/3629) by @andrewzhurov
|
||||
- Fix unexpected layers ungrouping on moving it [Taiga #3932](https://tree.taiga.io/project/penpot/issue/3932) by @andrewzhurov
|
||||
- Fix unexpected exception and behavior on colorpicker with gradients [Taiga #3448](https://tree.taiga.io/project/penpot/issue/3448)
|
||||
- Fix multiselection with shift not working inside a library group [Taiga #3532](https://tree.taiga.io/project/penpot/issue/3532)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1940,13 +1940,11 @@
|
|||
(fn [asset-type asset-groups asset-id]
|
||||
(letfn [(flatten-groups
|
||||
[groups]
|
||||
(concat
|
||||
(get groups "" [])
|
||||
(reduce concat
|
||||
(into []
|
||||
(->> (filter #(seq (first %)) groups)
|
||||
(map second)
|
||||
(mapcat flatten-groups))))))]
|
||||
(reduce concat [(get groups "" [])
|
||||
(into []
|
||||
(->> (filter #(seq (first %)) groups)
|
||||
(map second)
|
||||
(mapcat flatten-groups)))]))]
|
||||
(let [selected-assets-type (get selected-assets asset-type)
|
||||
count-assets (count selected-assets-type)]
|
||||
(if (<= count-assets 0)
|
||||
|
|
Loading…
Reference in a new issue