Notification: respect animation setting (fixes #538)

This commit is contained in:
lysec
2025-10-21 14:34:27 +02:00
parent df392a7d14
commit b5691d932f
2 changed files with 28 additions and 12 deletions
@@ -148,6 +148,7 @@ NPanel {
border.width: Math.max(1, Style.borderS)
Behavior on height {
enabled: !Settings.data.general.animationDisabled
NumberAnimation {
duration: Style.animationNormal
easing.type: Easing.InOutQuad
@@ -156,6 +157,7 @@ NPanel {
// Smooth color transition on hover
Behavior on color {
enabled: !Settings.data.general.animationDisabled
ColorAnimation {
duration: Style.animationFast
}