mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
don't show the window on hide
This commit is contained in:
parent
69ae5a1ba4
commit
d5e0c7acc8
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue