0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 00:19:07 -05:00

🐛 Set proper order on rendering shapes inside a frame.

This commit is contained in:
Andrey Antukh 2020-03-19 17:38:24 +01:00 committed by Alonso Torres
parent a0643c7388
commit 9d8dffa80b

View file

@ -134,7 +134,7 @@
[:svg {:x x :y y :width width :height height}
[:& "rect" props]
(for [item childs]
(for [item (reverse childs)]
[:& shape-wrapper {:shape (translate item) :key (:id item)}])]))
(defn- translate-to-frame