Restore compact bar indicator sizing
This commit is contained in:
@@ -43,4 +43,5 @@ BarIconButton {
|
||||
useActiveColor: false
|
||||
maintainIndicatorReveal: indicatorBlock === "inactive"
|
||||
revealHost: indicatorHost
|
||||
fontSize: Style.font.caption
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user