Styles: always round capsuleHeight

This commit is contained in:
ItsLemmy
2025-11-06 21:41:55 -05:00
parent 551871a981
commit fc0c902305
+4 -4
View File
@@ -99,15 +99,15 @@ Singleton {
property real capsuleHeight: {
switch (Settings.data.bar.density) {
case "mini":
return barHeight * 1.0
return Math.round(barHeight * 1.0)
case "compact":
return barHeight * 0.85
return Math.round(barHeight * 0.85)
case "comfortable":
return barHeight * 0.73
return Math.round(barHeight * 0.73)
default:
case "default":
return barHeight * 0.82
return Math.round(barHeight * 0.82)
}
}
}