osd: partially revert last commit
Animate icon changes
This commit is contained in:
parent
469272cb48
commit
17ff34368d
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue