mirror of
https://github.com/penpot/penpot.git
synced 2026-05-22 16:33:55 +00:00
🐛 Fix problem refreshing layouts
This commit is contained in:
parent
051859969c
commit
994d08b479
@ -17,7 +17,11 @@
|
|||||||
[id objects]
|
[id objects]
|
||||||
(->> (tree-seq
|
(->> (tree-seq
|
||||||
#(d/not-empty? (dm/get-in objects [% :shapes]))
|
#(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)
|
id)
|
||||||
(map #(get objects %))))
|
(map #(get objects %))))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user