mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fix the math for unlocking
This commit is contained in:
parent
35fa1e62c8
commit
578f998f38
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ MouseEventListener {
|
|||
|
||||
//scrolling up
|
||||
} else if (verticalVelocity < 0 && contentY < -headerItem.height + root.height &&
|
||||
contentY < (-headerItem.height + root.height/6)) {
|
||||
contentY < (-headerItem.height + root.height/6*5)) {
|
||||
scrollAnim.to = -headerItem.height;
|
||||
scrollAnim.running = true;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue