mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
mobileshell/taskswitcher: Remove unneeded gesture area
This commit is contained in:
parent
57175abcf4
commit
54f10f9f13
1 changed files with 0 additions and 19 deletions
|
|
@ -262,23 +262,4 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// top panel swipe down gesture
|
||||
MouseArea {
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
height: MobileShell.TopPanelControls.panelHeight
|
||||
|
||||
property int oldMouseY: 0
|
||||
onPositionChanged: {
|
||||
MobileShell.TopPanelControls.requestRelativeScroll(mouse.y - oldMouseY);
|
||||
oldMouseY = mouse.y;
|
||||
}
|
||||
onPressed: {
|
||||
oldMouseY = mouse.y;
|
||||
MobileShell.TopPanelControls.startSwipe();
|
||||
}
|
||||
onReleased: MobileShell.TopPanelControls.endSwipe();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue