mirror of
https://github.com/penpot/penpot.git
synced 2026-02-14 23:52:56 +00:00
🐛 Fix problem refreshing layouts
This commit is contained in:
@@ -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 %))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user