mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 22:56:10 +02:00
🐛 Fix double click and lens zoom
This commit is contained in:
parent
4a3a53182b
commit
771d1d9194
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@
|
||||||
(mf/deps @hover @hover-ids drawing-path? edition drawing-tool @z? workspace-read-only?)
|
(mf/deps @hover @hover-ids drawing-path? edition drawing-tool @z? workspace-read-only?)
|
||||||
(fn [event]
|
(fn [event]
|
||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
(when (not z?)
|
(when-not @z?
|
||||||
(let [ctrl? (kbd/ctrl? event)
|
(let [ctrl? (kbd/ctrl? event)
|
||||||
shift? (kbd/shift? event)
|
shift? (kbd/shift? event)
|
||||||
alt? (kbd/alt? event)
|
alt? (kbd/alt? event)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue