mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 18:24:46 +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;
|
return;
|
||||||
}
|
}
|
||||||
scrollAnim.from = tasksView.contentY;
|
scrollAnim.from = tasksView.contentY;
|
||||||
if (tasksView.contentY + window.height < tasksView.contentHeight/2) {
|
if (tasksView.contentY + window.height < tasksView.contentHeight - tasksView.contentY) {
|
||||||
scrollAnim.to = 0;
|
scrollAnim.to = 0;
|
||||||
} else {
|
} else {
|
||||||
scrollAnim.to = tasksView.contentHeight - window.height;
|
scrollAnim.to = tasksView.contentHeight - window.height;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue