0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-08 21:11:22 -05:00

🐛 Eva Fix context menu for viewer role (#6159)

This commit is contained in:
Eva Marco 2025-03-26 12:50:23 +01:00 committed by GitHub
parent 3d16fa6f19
commit f55e0bf6e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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