Skip to content

Commit

Permalink
Fixed panning after double click reset
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpolites committed Feb 20, 2012
1 parent eb7f219 commit 8e2caab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public boolean onTouch(View v, MotionEvent event) {
currentScale = startingScale;
next.x = image.getX();
next.y = image.getY();
calculateBoundaries();
}

if(event.getAction() == MotionEvent.ACTION_UP) {
Expand Down

0 comments on commit 8e2caab

Please sign in to comment.