From e28550b53f204ca071874d4bc63f523fc1a75bf6 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 2 Nov 2025 08:59:33 +0100 Subject: [PATCH] add missing animations to android toggles --- .../androidStyle/AndroidQuickToggleButton.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/sidebarRight/quickToggles/androidStyle/AndroidQuickToggleButton.qml b/dots/.config/quickshell/ii/modules/sidebarRight/quickToggles/androidStyle/AndroidQuickToggleButton.qml index d3d59f342..c2658cede 100644 --- a/dots/.config/quickshell/ii/modules/sidebarRight/quickToggles/androidStyle/AndroidQuickToggleButton.qml +++ b/dots/.config/quickshell/ii/modules/sidebarRight/quickToggles/androidStyle/AndroidQuickToggleButton.qml @@ -77,6 +77,13 @@ GroupButton { return ColorUtils.transparentize(baseColor, transparentizeAmount) } + Behavior on radius { + animation: Appearance.animation.elementMove.numberAnimation.createObject(this) + } + Behavior on color { + animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this) + } + MaterialSymbol { anchors.centerIn: parent fill: root.toggled ? 1 : 0 @@ -98,6 +105,7 @@ GroupButton { right: parent.right } font.pixelSize: Appearance.font.pixelSize.smallie + font.weight: 600 color: root.colText elide: Text.ElideRight text: root.name @@ -111,9 +119,8 @@ GroupButton { } font { pixelSize: Appearance.font.pixelSize.smaller - weight: Font.Light } - color: root.colText + color: Appearance.colors.colSubtext elide: Text.ElideRight text: root.statusText }