Fix issue with HitTest

Hi,

I dont think you need to apply the scales here because it will be done automatically by the framework (the localPoint is already transformed in the locales coordinates)

Have a nice day!

Seb
This commit is contained in:
Sebastien Flory 2014-12-16 10:02:46 +01:00
parent b3b3b25a83
commit 01ba46ff0e

View File

@ -250,10 +250,6 @@ public class SkeletonSprite extends DisplayObject {
}
}
minX *= scaleX;
maxX *= scaleX;
minY *= scaleY;
maxY *= scaleY;
var temp:Number;
if (maxX < minX) {
temp = maxX;