We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8ca49 commit fb8da7aCopy full SHA for fb8da7a
1 file changed
src/input/InputHandler.js
@@ -774,8 +774,8 @@ Phaser.InputHandler.prototype = {
774
!this.sprite ||
775
!this.sprite.parent ||
776
!this.sprite.visible ||
777
- this.sprite.worldScaleX === 0 ||
778
- this.sprite.worldScaleY === 0)
+ this.sprite.transform.worldScaleX === 0 ||
+ this.sprite.transform.worldScaleY === 0)
779
{
780
return false;
781
}
@@ -888,7 +888,7 @@ Phaser.InputHandler.prototype = {
888
return;
889
890
891
- if (!this.enabled || !this.sprite.visible || !this.sprite.parent.visible)
+ if (!this.enabled || !this.sprite.visible)
892
893
this._pointerOutHandler(pointer);
894
0 commit comments