Fix condition for detecting overshooting
Fixes the delegate range not working at startup.
commitd273fd4f047f6055461a05e5a6bd880216f66ede
authorAlbert Astals <albert.astals@canonical.com>
dateWed 26 Mar 2014, 17:39 (13 years ago)
parent05d4a33
qml/Dash/GenericScopeView.qml+1−1
@@ -250,7 +250,7 @@ FocusScope {
250250 // to the stable position and delete/create items without any reason
251251 if (categoryView.contentY < categoryView.originY) {
252252 return;
253− } else if (categoryView.contentY + categoryView.height > categoryView.contentHeight) {
253+ } else if (categoryView.contentHeight > categoryView.height && categoryView.contentY + categoryView.height > categoryView.contentHeight) {
254254 return;
255255 }
256256