[widgetexplorer] Fix animate in animation

Authored by davidedmundson on Jan 17 2020, 2:41 PM.

Description

[widgetexplorer] Fix animate in animation

Summary:
The animation in comes in from offscreen on the left.

"to: 0" was correct when we had one column. With the 2 column view it
means we animate two items on top of each other and jump when the
animation completes. We want to animate to the final position the item
will end up in.

It bugs me more than it probably should.

Test Plan:
Search for "asdfasdfsadfsadf"
Remove search
Animation now looks ok, instead of horrific

Reviewers: Plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D26698

Details

Committed
davidedmundsonJan 17 2020, 2:41 PM
Reviewer
ngraham
Differential Revision
D26698: [widgetexplorer] Fix animate in animation
Parents
R119:d9877a23b55c: Merge remote-tracking branch 'origin/Plasma/5.17'
Branches
Unknown
Tags
Unknown