浏览代码

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 年之前
父节点
当前提交
01ba46ff0e
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      spine-starling/spine-starling/src/spine/starling/SkeletonSprite.as

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