fix closing

This commit is contained in:
Marco Martin 2020-07-30 17:56:34 +02:00
parent 9f25435d82
commit c81eaee352

View file

@ -118,7 +118,10 @@ NanoShell.FullScreenOverlay {
}
ScriptAction {
script: {
window.visible = false;
if (tasksView.contentY <= 0 || tasksView.contentY >= tasksView.contentHeight - window.height) {
window.visible = false;
setSingleActiveWindow(currentTaskIndex);
}
}
}
}