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

Fix isFastRect returning true if the rectangle is rotated #8094

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

dev7355608
Copy link
Collaborator

Description of change

Demo of failure: https://www.pixiplayground.com/#/edit/h0Qpfm3WlcSSgJP6FAvdG

I kept the check simple, but we could also add the same check as in ScissorSystem.isMatrixRotated if that is preferred.

Pre-Merge Checklist
  • Lint process passed (npm run lint)
  • Tests passed (npm run test)

@bigtimebuddy bigtimebuddy added this to the v6.2.2 milestone Jan 8, 2022
@bigtimebuddy bigtimebuddy added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Jan 8, 2022
dev7355608 added a commit to pixijs/graphics-smooth that referenced this pull request Jan 10, 2022
@bigtimebuddy bigtimebuddy merged commit a9f8d35 into dev Jan 11, 2022
@bigtimebuddy bigtimebuddy deleted the fix/isFastRect branch January 11, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants