mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fix close slide direction
This commit is contained in:
parent
928ac5c195
commit
ae67112a5c
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ NanoShell.FullScreenOverlay {
|
|||
return;
|
||||
}
|
||||
scrollAnim.from = tasksView.contentY;
|
||||
if (tasksView.contentY + window.height < tasksView.contentHeight/2) {
|
||||
if (tasksView.contentY + window.height < tasksView.contentHeight - tasksView.contentY) {
|
||||
scrollAnim.to = 0;
|
||||
} else {
|
||||
scrollAnim.to = tasksView.contentHeight - window.height;
|
||||
|
|
|
|||
Loading…
Reference in a new issue