From 5fbc2ff6bbac38b20d4ed8437ccf4a5e8d555d75 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 18 Nov 2016 20:04:46 +0100 Subject: [PATCH] Fix rendering order issue on group. --- src/uxbox/main/ui/shapes/group.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uxbox/main/ui/shapes/group.cljs b/src/uxbox/main/ui/shapes/group.cljs index cd70d3d9f..9a1996d75 100644 --- a/src/uxbox/main/ui/shapes/group.cljs +++ b/src/uxbox/main/ui/shapes/group.cljs @@ -71,7 +71,8 @@ (attrs/extract-style-attrs shape) (attrs/make-debug-attrs shape))] [:g attrs - (for [item items :let [key (str item)]] + (for [item (reverse items) + :let [key (str item)]] (-> (factory item) (mx/with-key key)))]))