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

don't show the window on hide

parent 69ae5a1b
......@@ -61,6 +61,9 @@ NanoShell.FullScreenOverlay {
scrollAnim.running = true;
}
function hide() {
if (!window.visible) {
return;
}
scrollAnim.from = tasksView.contentY;
if (tasksView.contentY + tasksView.headerItem.height < tasksView.contentHeight/2) {
scrollAnim.to = -tasksView.headerItem.height;
......
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