Commit 97766525 authored by David Edmundson's avatar David Edmundson

[widgetexplorer] Fix animate in animation

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:
parent d9877a23
......@@ -305,9 +305,7 @@ Item {
NumberAnimation {
properties: "x"
from: -list.width
to: 0
duration: units.shortDuration * 3
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment