mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 06:06:11 +02:00
✨ Allows groups to reflow the layout on transform
This commit is contained in:
parent
84c0825893
commit
6e5a23c190
4 changed files with 92 additions and 31 deletions
|
@ -353,3 +353,10 @@
|
|||
(let [root-node (dom/query ".viewport .render-shapes")
|
||||
num-nodes (->> (dom/seq-nodes root-node) count)]
|
||||
#js {:number num-nodes}))
|
||||
|
||||
#_(defn modif->js
|
||||
[modif-tree objects]
|
||||
(clj->js (into {}
|
||||
(map (fn [[k v]]
|
||||
[(get-in objects [k :name]) v]))
|
||||
modif-tree)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue