Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rectangle hit-area when updated text #4476

Closed
wants to merge 1 commit into from
Closed

Update rectangle hit-area when updated text #4476

wants to merge 1 commit into from

Conversation

rexrainbow
Copy link
Contributor

This PR (delete as applicable)

  • Fixes a bug

Describe the changes below:

Update rectangle hit-area when updated text. (#4456)
(This code is modified from Zone game object)

@photonstorm
Copy link
Collaborator

Thanks for the PR. I've fixed this in a slightly different way, because if they set their own custom hitArea this shouldn't touch it. A new property in InteractiveObject allows for this (and removes the need for the instanceof check too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants