0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-27 08:59:17 -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} [:svg {:x x :y y :width width :height height}
[:& "rect" props] [:& "rect" props]
(for [item childs] (for [item (reverse childs)]
[:& shape-wrapper {:shape (translate item) :key (:id item)}])])) [:& shape-wrapper {:shape (translate item) :key (:id item)}])]))
(defn- translate-to-frame (defn- translate-to-frame