Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better match NSScrollView physics, fix erroneous second teensy oscill…

…ation when bouncing.
  • Loading branch information...
commit fe674be7488667b9fea0ed975c57c36e377de367 1 parent 494435e
@atebits atebits authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/UIKit/TUIScrollView.m
View
4 lib/UIKit/TUIScrollView.m
@@ -720,8 +720,8 @@ - (void)_updateBounce
CGPoint F = CGPointZero;
- float tightness = 2.5;
- float dampiness = 0.3;
+ float tightness = 2.5f;
+ float dampiness = 0.35f;
// spring
F.x = -_bounce.x * tightness;
Please sign in to comment.
Something went wrong with that request. Please try again.