on xenial help sign in
Since we're limiting the X i also feel like limiting the Y makes sense
054fd70Albert Astals
qml/Dash/ScopesListCategory.qml+2
@@ -86,6 +86,8 @@ Item {
86 drag.target = dragItem;
86 drag.target = dragItem;
87 drag.maximumX = 0;
87 drag.maximumX = 0;
88 drag.minimumX = 0;
88 drag.minimumX = 0;
89+ drag.minimumY = list.y - dragItem.height / 2;
90+ drag.maximumY = list.y + list.height - dragItem.height / 2
89 dragItem.icon = icon;
91 dragItem.icon = icon;
90 dragItem.text = text;
92 dragItem.text = text;
91 dragItem.y = mapToItem(root, 0, 0).y + units.gu(1)
93 dragItem.y = mapToItem(root, 0, 0).y + units.gu(1)