plugins/private/Windowheap: Use InOutCubic easing

All transitions correspond to visible to visible changes, and should
have InOutCubic easing as per HIG.
This commit is contained in:
Yifan Zhu 2024-01-19 08:03:54 -08:00 committed by Vlad Zahorodnii
parent acb0dc4c24
commit 8774a0114c

View file

@ -86,7 +86,7 @@ Item {
enabled: thumb.state === "active-normal" && thumb.windowHeap.animationEnabled && thumb.animationEnabled && !thumb.activeDragHandler.active
NumberAnimation {
duration: thumb.windowHeap.animationDuration
easing.type: Easing.OutCubic
easing.type: Easing.InOutCubic
}
}
@ -337,7 +337,7 @@ Item {
NumberAnimation {
duration: thumb.windowHeap.animationDuration
properties: "x, y, width, height"
easing.type: Easing.OutCubic
easing.type: Easing.InOutCubic
}
}
]