From 9d8dffa80b6ddb50c2ba5e9104cb72791b33db47 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 19 Mar 2020 17:38:24 +0100 Subject: [PATCH] :bug: Set proper order on rendering shapes inside a frame. --- frontend/src/uxbox/main/ui/shapes/frame.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/uxbox/main/ui/shapes/frame.cljs b/frontend/src/uxbox/main/ui/shapes/frame.cljs index 730ce6d69..93265dca1 100644 --- a/frontend/src/uxbox/main/ui/shapes/frame.cljs +++ b/frontend/src/uxbox/main/ui/shapes/frame.cljs @@ -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