actiondrawer: Ensure that new swipes always re-open the overlay

This commit is contained in:
Devin Lin 2021-12-27 19:03:00 -05:00
parent fd88eb36e9
commit 7adea6fd3d

View file

@ -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;