mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 15:57:26 +02:00
✨ Store layout info in shape
This commit is contained in:
parent
e662a7090f
commit
3c3664535e
6 changed files with 208 additions and 157 deletions
|
@ -106,9 +106,7 @@
|
|||
"Extract the target from event instance and select it"
|
||||
[^js event]
|
||||
(when (some? event)
|
||||
(-> event
|
||||
(.-target)
|
||||
(.-select))))
|
||||
(-> event (.-target) (.select))))
|
||||
|
||||
(defn select-node
|
||||
"Select element by node"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue