]> 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:17 +0000 (18:31 +0100)
commitdb66391f0071e12b5d28d34a2e363b6b1878251c
treeb591991c9964675cea2ea84204bc18a08faa8c77
parent8bef3984bb7c3ec8d544a6088d5bad962796407b
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