Commit 578f998f authored by Marco Martin's avatar Marco Martin

fix the math for unlocking

parent 35fa1e62
......@@ -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;
......
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