Przeglądaj źródła

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
Sebastien Flory 10 lat temu
rodzic
commit
01ba46ff0e

+ 0 - 4
spine-starling/spine-starling/src/spine/starling/SkeletonSprite.as

@@ -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;