mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
🐛 Fix right button in frame title produces an internal error
This commit is contained in:
parent
df1c56da2d
commit
749fc61885
1 changed files with 1 additions and 2 deletions
|
@ -230,8 +230,7 @@
|
|||
(if workspace-read-only?
|
||||
(dom/prevent-default event)
|
||||
(when (or (dom/class? (dom/get-target event) "viewport-controls")
|
||||
(dom/class? (dom/get-target event) "viewport-selrect")
|
||||
(workspace-read-only?))
|
||||
(dom/class? (dom/get-target event) "viewport-selrect"))
|
||||
(dom/prevent-default event)
|
||||
|
||||
(let [position (dom/get-client-position event)]
|
||||
|
|
Loading…
Reference in a new issue