osd: partially revert last commit

Animate icon changes
This commit is contained in:
2 * r + 2 * t 2025-05-07 00:08:04 +10:00
parent 469272cb48
commit 17ff34368d

View file

@ -57,6 +57,7 @@ Slider {
MaterialIcon {
id: icon
animate: true
text: root.icon
color: Colours.palette.m3inverseOnSurface
anchors.centerIn: parent
@ -66,6 +67,7 @@ Slider {
when: handle.moving
PropertyChanges {
icon.animate: false
icon.text: Math.round(root.value * 100)
icon.font.pointSize: Appearance.font.size.small
icon.font.family: Appearance.font.family.sans