]> cloud.milkyroute.net Git - dolphin.git/commit
Make moving animations less obtrusive
authorPeter Penz <peter.penz19@gmail.com>
Sun, 29 Jan 2012 17:29:00 +0000 (18:29 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 29 Jan 2012 17:31:57 +0000 (18:31 +0100)
commitd05ffe96f986bcd33281cb5f97b73c1b4bf2b2ae
tree863fb589e8a9a7775d91526ed583abcc8d5b719c
parentd23475a7268f6a6d9d7b3a895e1996689032a0b5
Make moving animations less obtrusive

Only animate the moving of items if the new position is within the same
row or the same column. Otherwise just fade in the icon on the new position.
This makes the the animations when resizing the window or changing the zoom-level
a lot more pleasant.

CCBUG: 289238
src/kitemviews/kitemlistview.cpp
src/kitemviews/kitemlistview.h