NIconButton(Hot): unified animation speed and easing

This commit is contained in:
Lemmy
2026-01-08 16:52:55 -05:00
parent 9fc7a597eb
commit 47abc39c5c
2 changed files with 2 additions and 10 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ Rectangle {
Behavior on color {
ColorAnimation {
duration: Style.animationNormal
duration: Style.animationFast
easing.type: Easing.InOutQuad
}
}
+1 -9
View File
@@ -65,15 +65,8 @@ Rectangle {
Behavior on color {
ColorAnimation {
duration: Style.animationNormal
easing.type: Easing.InOutQuad
}
}
Behavior on scale {
NumberAnimation {
duration: Style.animationFast
easing.type: Easing.OutCubic
easing.type: Easing.InOutQuad
}
}
@@ -134,7 +127,6 @@ Rectangle {
onPressed: function (mouse) {
if (root.enabled) {
root.pressed = true;
root.scale = 0.92;
}
if (tooltipText) {
TooltipService.hide();