mirror of
https://github.com/penpot/penpot.git
synced 2026-02-26 06:14:02 +00:00
🐛 Set proper shape vertical ordering.
This commit is contained in:
@@ -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)}])]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user