Permalink
Browse files

Merge pull request #5 from marcusbrose/master

fixed transformation limit issue
  • Loading branch information...
2 parents 78368fe + 1a51013 commit 0ba40c5773d82efc83faa3b2c43f5debc338d9a9 @jozefchutka 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 0ba40c5

Please sign in to comment.