Restore compact bar indicator sizing

This commit is contained in:
David Heinemeier Hansson
2026-07-17 16:08:33 -07:00
parent 22791803ed
commit 6867f16b78
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -43,4 +43,5 @@ BarIconButton {
useActiveColor: false
maintainIndicatorReveal: indicatorBlock === "inactive"
revealHost: indicatorHost
fontSize: Style.font.caption
}
+4
View File
@@ -73,6 +73,10 @@ ShellRoot {
fail("vertical indicator does not use the shared slot")
return
}
if (verticalIndicator.glyphFontSize !== Style.font.caption) {
fail("indicator does not use the secondary icon scale")
return
}
if (Math.abs(verticalIndicator.opticalCenterErrorX) > 0.5) {
fail("vertical indicator is not optically centered")
return