on xenial help sign in
Fix condition for detecting overshooting
d273fd4Albert Astals
qml/Dash/GenericScopeView.qml+1−1
@@ -250,7 +250,7 @@ FocusScope {
250 // to the stable position and delete/create items without any reason
250 // to the stable position and delete/create items without any reason
251 if (categoryView.contentY < categoryView.originY) {
251 if (categoryView.contentY < categoryView.originY) {
252 return;
252 return;
253− } else if (categoryView.contentY + categoryView.height > categoryView.contentHeight) {
253+ } else if (categoryView.contentHeight > categoryView.height && categoryView.contentY + categoryView.height > categoryView.contentHeight) {
254 return;
254 return;
255 }
255 }
256
256