mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 07:11:32 -05:00
🐛 Fix problem refreshing layouts
This commit is contained in:
parent
051859969c
commit
994d08b479
1 changed files with 5 additions and 1 deletions
|
@ -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 %))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue