Restore compact bar indicator sizing
This commit is contained in:
@@ -43,4 +43,5 @@ BarIconButton {
|
|||||||
useActiveColor: false
|
useActiveColor: false
|
||||||
maintainIndicatorReveal: indicatorBlock === "inactive"
|
maintainIndicatorReveal: indicatorBlock === "inactive"
|
||||||
revealHost: indicatorHost
|
revealHost: indicatorHost
|
||||||
|
fontSize: Style.font.caption
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,10 @@ ShellRoot {
|
|||||||
fail("vertical indicator does not use the shared slot")
|
fail("vertical indicator does not use the shared slot")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (verticalIndicator.glyphFontSize !== Style.font.caption) {
|
||||||
|
fail("indicator does not use the secondary icon scale")
|
||||||
|
return
|
||||||
|
}
|
||||||
if (Math.abs(verticalIndicator.opticalCenterErrorX) > 0.5) {
|
if (Math.abs(verticalIndicator.opticalCenterErrorX) > 0.5) {
|
||||||
fail("vertical indicator is not optically centered")
|
fail("vertical indicator is not optically centered")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user