mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-08 03:36:52 +08:00
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:
parent
b3b3b25a83
commit
01ba46ff0e
@ -250,10 +250,6 @@ public class SkeletonSprite extends DisplayObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
minX *= scaleX;
|
|
||||||
maxX *= scaleX;
|
|
||||||
minY *= scaleY;
|
|
||||||
maxY *= scaleY;
|
|
||||||
var temp:Number;
|
var temp:Number;
|
||||||
if (maxX < minX) {
|
if (maxX < minX) {
|
||||||
temp = maxX;
|
temp = maxX;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user