🐛 Fix inspect in workspace displays shape size twice when selecting a shape (#10507)

This commit is contained in:
Luis de Dios 2026-07-01 13:08:35 +02:00 committed by GitHub
parent c8f586a197
commit 7e8590b04c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -505,7 +505,8 @@
(when (and (seq selected-shapes)
(not transform)
(not text-editing?)
(not edition))
(not edition)
(not mode-inspect?))
[:> msr/selection-size-badge*
{:selrect (gsh/shapes->rect selected-shapes)
:zoom zoom}])

View File

@ -776,6 +776,7 @@
(not transform)
(not text-editing?)
(not edition)
(not mode-inspect?)
(not page-transition?))
[:> msr/selection-size-badge*
{:selrect (gsh/shapes->rect selected-shapes)