aboutsummaryrefslogtreecommitdiffstats
path: root/theme/components/PowerBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'theme/components/PowerBar.qml')
-rw-r--r--theme/components/PowerBar.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/components/PowerBar.qml b/theme/components/PowerBar.qml
index 88bdee6..1e35fb1 100644
--- a/theme/components/PowerBar.qml
+++ b/theme/components/PowerBar.qml
@@ -42,6 +42,7 @@ Row {
radius: 10
color: config.stringValue("surface0")
opacity: mouse.containsMouse && modelData.enabled ? 1 : 0
+ Behavior on opacity { NumberAnimation { duration: 120; easing.type: Easing.OutCubic } }
}
Image {
@@ -66,6 +67,8 @@ Row {
colorizationColor: mouse.containsMouse && modelData.enabled
? config.stringValue("accent")
: config.stringValue("subtext0")
+ scale: mouse.containsMouse && modelData.enabled ? 1.15 : 1.0
+ Behavior on scale { NumberAnimation { duration: 120; easing.type: Easing.OutCubic } }
}
MouseArea {