Skip to content

Commit

Permalink
Reversed zoom direction
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldOfView committed Jun 7, 2012
1 parent 9f63b81 commit 649bc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multitouch/source/multitouch.as
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ package {

if(previousDistance > 0 && newDistance > 0) {
var fov:Number = krpano.get("view.fov");
krpano.set("view.fov", fov * newDistance / previousDistance);
krpano.set("view.fov", fov * previousDistance / newDistance);
}
} else {
// always keep track of all touchpoints, in case the zoompoints couple changes
Expand Down

0 comments on commit 649bc7b

Please sign in to comment.