mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 20:31:36 +02:00
🐸 adds crud for libraries and deletion of elements
This commit is contained in:
parent
df75099000
commit
a0a031dbc2
11 changed files with 374 additions and 88 deletions
|
@ -142,8 +142,7 @@
|
|||
y (.-clientY event)]
|
||||
(gpt/point x y)))
|
||||
|
||||
(defn get-offset-position
|
||||
[event]
|
||||
(let [x (.-offsetX event)
|
||||
y (.-offsetY event)]
|
||||
(gpt/point x y)))
|
||||
(defn focus!
|
||||
[node]
|
||||
(.focus node))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue