summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-07 00:08:04 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-07 00:08:04 +1000
commit17ff34368d9f2a8395736e996c0c5ff310d06099 (patch)
tree0004e30e5a22da1c04f477b451bb3dabbdd3e511
parentosd: fix slider animation (diff)
downloadcaelestia-shell-17ff34368d9f2a8395736e996c0c5ff310d06099.tar.gz
caelestia-shell-17ff34368d9f2a8395736e996c0c5ff310d06099.tar.bz2
caelestia-shell-17ff34368d9f2a8395736e996c0c5ff310d06099.zip
osd: partially revert last commit
Animate icon changes
-rw-r--r--widgets/VerticalSlider.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/VerticalSlider.qml b/widgets/VerticalSlider.qml
index 2424b9e..175d50f 100644
--- a/widgets/VerticalSlider.qml
+++ b/widgets/VerticalSlider.qml
@@ -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