mirror of
https://github.com/penpot/penpot.git
synced 2026-08-04 20:09:05 +00:00
🐛 Fix shape size badge is displayed twice when user with viewer permissions selects a shape (#10985)
This commit is contained in:
parent
eacdca3c0a
commit
767f90282c
@ -508,6 +508,7 @@
|
|||||||
(not transform)
|
(not transform)
|
||||||
(not text-editing?)
|
(not text-editing?)
|
||||||
(not edition)
|
(not edition)
|
||||||
|
(not read-only?)
|
||||||
(not mode-inspect?))
|
(not mode-inspect?))
|
||||||
[:> msr/selection-size-badge*
|
[:> msr/selection-size-badge*
|
||||||
{:shapes selected-shapes
|
{:shapes selected-shapes
|
||||||
|
|||||||
@ -796,6 +796,7 @@
|
|||||||
(not transform)
|
(not transform)
|
||||||
(not text-editing?)
|
(not text-editing?)
|
||||||
(not edition)
|
(not edition)
|
||||||
|
(not read-only?)
|
||||||
(not mode-inspect?)
|
(not mode-inspect?)
|
||||||
(not page-transition?))
|
(not page-transition?))
|
||||||
[:> msr/selection-size-badge*
|
[:> msr/selection-size-badge*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user