mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 20:28:11 +00:00
🐛 Eva Fix context menu for viewer role (#6159)
This commit is contained in:
parent
3d16fa6f19
commit
f55e0bf6e3
@ -160,7 +160,7 @@
|
||||
(fn [event]
|
||||
(dom/prevent-default event)
|
||||
(dom/stop-propagation event)
|
||||
(when-not is-editing
|
||||
(when (and can-edit? (not is-editing))
|
||||
(st/emit! (dt/assign-token-set-context-menu
|
||||
{:position (dom/get-client-position event)
|
||||
:is-group true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user