Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan.sweet committed Oct 25, 2011
1 parent 72d6e67 commit 5f22dc1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ void clamp () {
}

public void act (float delta) {
super.act(delta);

if (flingTimer > 0) {
float alpha = flingTimer / flingTime;
amountX -= velocityX * alpha * delta;
Expand Down Expand Up @@ -293,7 +295,7 @@ public float getScrollPercentY () {
public float getMaxX () {
return maxX;
}

public float getMaxY () {
return maxX;
}
Expand Down

0 comments on commit 5f22dc1

Please sign in to comment.