mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
actiondrawer: Ensure that new swipes always re-open the overlay
This commit is contained in:
parent
fd88eb36e9
commit
7adea6fd3d
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ MouseArea {
|
|||
property int oldMouseY: 0
|
||||
|
||||
function startSwipe() {
|
||||
if (actionDrawer.visible) {
|
||||
// ensure the action drawer state is consistent
|
||||
actionDrawer.closeImmediately();
|
||||
}
|
||||
actionDrawer.cancelAnimations();
|
||||
actionDrawer.dragging = true;
|
||||
actionDrawer.opened = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue