mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 13:08:28 +02:00
🎉 Add layout items options and feature toggle
This commit is contained in:
parent
28abe785e8
commit
3ac1760141
20 changed files with 352 additions and 206 deletions
|
@ -410,3 +410,11 @@
|
|||
|
||||
(defn workspace-text-modifier-by-id [id]
|
||||
(l/derived #(get % id) workspace-text-modifier =))
|
||||
|
||||
(defn is-layout-child?
|
||||
[ids]
|
||||
(l/derived
|
||||
(fn [objects]
|
||||
(->> ids
|
||||
(some #(-> (cph/get-parent objects %) :layout))))
|
||||
workspace-page-objects))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue