Commit dae850db authored by Marco Martin's avatar Marco Martin
Browse files

drag vertically also on the launcher strip

parent ead97b23
...@@ -46,7 +46,7 @@ Item { ...@@ -46,7 +46,7 @@ Item {
var newRow = 0; var newRow = 0;
var newContainer = internal.containerForItem(delegate, dragCenterX, dragCenterY); var newContainer = internal.containerForItem(delegate, dragCenterX, dragCenterY);
print("AAA"+newContainer)
// Put it in the favorites strip // Put it in the favorites strip
if (newContainer == favoriteStrip) { if (newContainer == favoriteStrip) {
var pos = favoriteStrip.flow.mapFromItem(delegate, 0, 0); var pos = favoriteStrip.flow.mapFromItem(delegate, 0, 0);
......
...@@ -318,6 +318,15 @@ Item { ...@@ -318,6 +318,15 @@ Item {
} }
} }
MouseArea {
anchors.fill:favoriteStrip
property real oldMouseY
onPressed: oldMouseY = mouse.y
onPositionChanged: {
mainFlickable.contentY -= mouse.y - oldMouseY;
oldMouseY = mouse.y;
}
}
Launcher.FavoriteStrip { Launcher.FavoriteStrip {
id: favoriteStrip id: favoriteStrip
anchors { anchors {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment