🐛 Fix problem refreshing layouts

This commit is contained in:
alonso.torres committed 2024-01-31 16:59:35 +01:00
1 parent 051859969c
commit 994d08b479
1 file changed
+5 -1
@@ -17,7 +17,11 @@
[id objects]
(->> (tree-seq
#(d/not-empty? (dm/get-in objects [% :shapes]))
#(dm/get-in objects [% :shapes])
(fn [id]
(let [shape (get objects id)]
(cond->> (:shapes shape)
(and (ctl/flex-layout? shape) (ctl/reverse? shape))
(reverse))))
id)
(map #(get objects %))))