mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 13:31:40 +02:00
🐛 Fix layer drag enabled on chrome when is readonly
This commit is contained in:
parent
b45a0a979b
commit
d8bb62c498
2 changed files with 21 additions and 13 deletions
|
@ -110,7 +110,7 @@
|
|||
|
||||
on-drag-start
|
||||
(fn [event]
|
||||
(if disabled
|
||||
(if (or disabled (not draggable?))
|
||||
(dom/prevent-default event)
|
||||
(do
|
||||
(dom/stop-propagation event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue