]> cloud.milkyroute.net Git - dolphin.git/commit
Don't animate items if the number of grid elements has been changed
authorPeter Penz <peter.penz19@gmail.com>
Wed, 1 Feb 2012 12:46:24 +0000 (13:46 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 1 Feb 2012 14:33:27 +0000 (15:33 +0100)
commit39348650d5b1af9b7eca681f35259d9532c29156
treebd409403ddd073f54655f39d2d9daa0e60e598ef
parent530b91b9c738baece708e7fef730444d50ec9db0
Don't animate items if the number of grid elements has been changed

Having animated items is useful when e.g. deleting or inserting one
item or when the size or position slightly changes by increasing the
zoom level or the window size. However if the number of rows or columns
change, the animation gets obtrusive and in this case lets just apply
the final layout.
src/kitemviews/kitemlistview.cpp
src/kitemviews/kitemlistview.h