mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 04:56:39 +02:00
✨ Show measures on workspace when pressed "ALT"
This commit is contained in:
parent
3ccb52735f
commit
b3fee39433
7 changed files with 324 additions and 211 deletions
|
@ -20,7 +20,7 @@
|
|||
(if ref
|
||||
(let [target (dom/get-target event)
|
||||
parent (mf/ref-val ref)]
|
||||
(when-not (.contains parent target)
|
||||
(when-not (or (not parent) (.contains parent target))
|
||||
(on-close)))
|
||||
(on-close)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue