]> cloud.milkyroute.net Git - dolphin.git/commit
Remove item move animation on view resize
authorFelix Ernst <fe.a.ernst@gmail.com>
Mon, 8 Feb 2021 17:40:55 +0000 (18:40 +0100)
committerFelix Ernst <fe.a.ernst@gmail.com>
Wed, 10 Feb 2021 14:16:42 +0000 (15:16 +0100)
commit998d71e5a7cff49ac8caa0f5ca82616237e0d038
treeb83003acc5876bb45136629f918773e04342dc34
parentf65b0899c3666561cafac14f67ab0bb8a5bfa00a
Remove item move animation on view resize

This commit removes an animation that happens when the view is
resized. Before this commit, whenever the geometry of the view
changed, the items in the view drifted towards their new position
in the layout after a 300 ms delay. It would look like the items
are slow to find their position.

This commit simply moves them to their new position in an instant
which will abort any ongoing move animations.
src/kitemviews/kitemlistview.cpp