mirror of
https://github.com/penpot/penpot.git
synced 2025-01-11 01:10:28 -05:00
🐛 Set proper shape vertical ordering.
This commit is contained in:
parent
a84080ddfa
commit
4c99280c4a
2 changed files with 3 additions and 3 deletions
|
@ -233,7 +233,7 @@
|
|||
i/arrow-slide]]
|
||||
(when-not collapsed?
|
||||
[:ul
|
||||
(for [[index shape] (reverse shapes)]
|
||||
(for [[index shape] shapes]
|
||||
[:& layer-item {:shape shape
|
||||
:selected selected
|
||||
:index index
|
||||
|
|
|
@ -154,8 +154,8 @@
|
|||
(for [item canvas]
|
||||
[:& canvas-wrapper {:shape item
|
||||
:key (:id item)
|
||||
:childs (get shapes (:id item))}])
|
||||
(for [item (get shapes nil)]
|
||||
:childs (reverse (get shapes (:id item)))}])
|
||||
(for [item (reverse (get shapes nil))]
|
||||
[:& shape-wrapper {:shape item
|
||||
:key (:id item)}])]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue