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