osd: make spinning brightness icon not wiggle

This commit is contained in:
end-4 2025-07-26 14:12:43 +07:00
parent 7fb81049f3
commit c69c8f6ef5

View file

@ -49,7 +49,10 @@ Item {
Layout.topMargin: valueIndicatorVerticalPadding
Layout.bottomMargin: valueIndicatorVerticalPadding
MaterialSymbol { // Icon
anchors.centerIn: parent
anchors {
centerIn: parent
alignWhenCentered: !root.rotateIcon
}
color: Appearance.colors.colOnLayer0
renderType: Text.QtRendering