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

Click-capture issue with sprite pivot #297

Closed
nighca opened this issue Jul 3, 2024 · 0 comments
Closed

Click-capture issue with sprite pivot #297

nighca opened this issue Jul 3, 2024 · 0 comments

Comments

@nighca
Copy link
Collaborator

nighca commented Jul 3, 2024

There is issue with click on a sprite with pivot.

For example, in this project, we configured the sprite with:

{
  "pivot": {
    "x": 45,
    "y": -70
  },
}

Which uses the sprite's center point as its pivot.

The click event is not triggered if we click at most of the area of the sprite. It is triggered only when we click at the right-bottom part of the sprite.

Screen.Recording.2024-07-03.at.15.06.14.mov
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

No branches or pull requests

1 participant