Permalink
Browse files

fixed transformation limit issue

  • Loading branch information...
1 parent 78368fe commit 1a510139071551cfbf0cc3013ef7704586ead4d2 @marcusbrose marcusbrose committed Dec 15, 2014
@@ -154,7 +154,7 @@ package sk.yoz.ycanvas.map.managers
protected function limitCenterX(centerX:Number):Number
{
if(centerX < limit.minCenterX)
- return limit.minCenterY;
+ return limit.minCenterX;
if(centerX > limit.maxCenterX)
return limit.maxCenterX;
return centerX;

0 comments on commit 1a51013

Please sign in to comment.