on xenial help sign in
Fixes
0be2251Albert Astals
qml/Dash/GenericScopeView.qml+2−2
@@ -237,12 +237,12 @@ FocusScope {
237 }
237 }
238
238
239 function updateDelegateCreationRange() {
239 function updateDelegateCreationRange() {
240− if (moving) {
240+ if (categoryView.moving) {
241 // Do not update the range if we are overshooting up or down, since we'll come back
241 // Do not update the range if we are overshooting up or down, since we'll come back
242 // to the stable position and delete/create items without any reason
242 // to the stable position and delete/create items without any reason
243 if (categoryView.contentY < categoryView.originY) {
243 if (categoryView.contentY < categoryView.originY) {
244 return;
244 return;
245− } else if (categoryView.originY + categoryView.contentHeight > categoryView.height &&
245+ } else if (categoryView.contentHeight - categoryView.originY > categoryView.height &&
246 categoryView.contentY + categoryView.height > categoryView.contentHeight) {
246 categoryView.contentY + categoryView.height > categoryView.contentHeight) {
247 return;
247 return;
248 }
248 }