mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
✨ Review fixes
This commit is contained in:
parent
23104b28b6
commit
a12baf684c
3 changed files with 2 additions and 4 deletions
|
@ -569,7 +569,7 @@
|
|||
|
||||
|
||||
;; TODO
|
||||
;; Assign cells takes the children and move them into the aloted cells. If there are not enough cells it creates
|
||||
;; Assign cells takes the children and move them into the allotted cells. If there are not enough cells it creates
|
||||
;; not-tracked rows/columns and put the shapes there
|
||||
;; Should be caled each time a child can be added like:
|
||||
;; - On shape creation
|
||||
|
|
|
@ -82,7 +82,6 @@
|
|||
(ptk/reify ::add-shape
|
||||
ptk/WatchEvent
|
||||
(watch [it state _]
|
||||
(.log js/console (clj->js attrs))
|
||||
(let [page-id (:current-page-id state)
|
||||
objects (wsh/lookup-page-objects state page-id)
|
||||
selected (wsh/lookup-selected state)
|
||||
|
|
|
@ -439,8 +439,7 @@
|
|||
(cph/selected-with-children objects selected))
|
||||
|
||||
exclude-frames-siblings
|
||||
exclude-frames
|
||||
#_(into exclude-frames
|
||||
(into exclude-frames
|
||||
(comp (mapcat (partial cph/get-siblings-ids objects))
|
||||
(filter (partial ctl/any-layout-immediate-child-id? objects)))
|
||||
selected)
|
||||
|
|
Loading…
Add table
Reference in a new issue