mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 22:49:01 -05:00
🐛 Fix multiselection with shift not working inside a library group
This commit is contained in:
parent
4e319fd9ef
commit
29223e8db8
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 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 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 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]
|
(fn [asset-type asset-groups asset-id]
|
||||||
(letfn [(flatten-groups
|
(letfn [(flatten-groups
|
||||||
[groups]
|
[groups]
|
||||||
(concat
|
(reduce concat [(get groups "" [])
|
||||||
(get groups "" [])
|
|
||||||
(reduce concat
|
|
||||||
(into []
|
(into []
|
||||||
(->> (filter #(seq (first %)) groups)
|
(->> (filter #(seq (first %)) groups)
|
||||||
(map second)
|
(map second)
|
||||||
(mapcat flatten-groups))))))]
|
(mapcat flatten-groups)))]))]
|
||||||
(let [selected-assets-type (get selected-assets asset-type)
|
(let [selected-assets-type (get selected-assets asset-type)
|
||||||
count-assets (count selected-assets-type)]
|
count-assets (count selected-assets-type)]
|
||||||
(if (<= count-assets 0)
|
(if (<= count-assets 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue