mirror of
https://github.com/penpot/penpot.git
synced 2026-05-19 23:13:39 +00:00
🐛 Fix measurement guides not showing up in wasm when user has viewer role
This commit is contained in:
parent
53530e958a
commit
5c423c3678
@ -321,7 +321,7 @@
|
||||
show-selrect? (and selrect (empty? drawing) (not text-editing?) (not page-transition?))
|
||||
show-measures? (and (not transform)
|
||||
(not path-editing?)
|
||||
(or show-distances? mode-inspect?)
|
||||
(or show-distances? mode-inspect? read-only?)
|
||||
(not page-transition?))
|
||||
show-artboard-names? (and (contains? layout :display-artboard-names) (not page-transition?))
|
||||
hide-ui? (contains? layout :hide-ui)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user