mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 04:28:30 +02:00
✨ Move guides together with frames
This commit is contained in:
parent
f0fd1bb40c
commit
3f89baa1fe
5 changed files with 63 additions and 8 deletions
|
@ -213,9 +213,20 @@
|
|||
(.-innerText el)))
|
||||
|
||||
(defn query
|
||||
[^js el ^string query]
|
||||
(when (some? el)
|
||||
(.querySelector el query)))
|
||||
([^string query]
|
||||
(query globals/document query))
|
||||
|
||||
([^js el ^string query]
|
||||
(when (some? el)
|
||||
(.querySelector el query))))
|
||||
|
||||
(defn query-all
|
||||
([^string query]
|
||||
(query-all globals/document query))
|
||||
|
||||
([^js el ^string query]
|
||||
(when (some? el)
|
||||
(.querySelectorAll el query))))
|
||||
|
||||
(defn get-client-position
|
||||
[^js event]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue