Verified Commit 982a7247 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

effects/desktopgrid: Replace highly opmitized animators with animations which work

Unfortunately, *Animator QML types have some problems with rendering,
sometimes affecting general smoothness, other times (like here, for me)
just not animating entirely. On my NVIDIA graphics system the animation
or a desktop returning from drag just looks like a freeze for a second,
then it suddenly jumps back to {0,0}. So let's just replace with less
optimal NumberAnimation which works fine.

FIXED-IN: 5.26
(cherry picked from commit 5cf43200)
parent 092955bd
......@@ -145,7 +145,7 @@ FocusScope {
Behavior on x {
enabled: !
XAnimator {
NumberAnimation {
id: xAnim
duration: container.effect.animationDuration
easing.type: Easing.OutCubic
......@@ -153,7 +153,7 @@ FocusScope {
Behavior on y {
enabled: !
YAnimator {
NumberAnimation {
id: yAnim
duration: container.effect.animationDuration
easing.type: Easing.OutCubic
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment