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 position jitter when flip enabled false #1659

Conversation

MadeByMike
Copy link
Contributor

Rather than disabling the exiting updates when flipEnabled is false I've updated to translate and set scale to an absolute value on the new transform.

This appears to solve the jitter and work otherwise the same as the existing method.

Rather than disabling the exiting updates when flipEnabled is false I've updated to translate and set scale to an absolute value on the new transform.

This appears to solve the jitter and work otherwise the same as the existing method.
@lavrton
Copy link
Member

lavrton commented Oct 30, 2023

Tests are not passed...

@MadeByMike
Copy link
Contributor Author

The order or rotation matters :)

Test should be passing now.

@lavrton
Copy link
Member

lavrton commented Oct 30, 2023

Good. @MadeByMike is it possible to make a test that is failing, before the fix. I am a bit not sure what exactly it is fixing.

@lavrton lavrton merged commit 4224b41 into konvajs:master Oct 31, 2023
2 checks passed
@lavrton
Copy link
Member

lavrton commented Oct 31, 2023

Actually, I just added it. I need to test it a bit more. But looks like it works much much better now. Thanks a lot @MadeByMike

@MadeByMike
Copy link
Contributor Author

No problem, happy to help 👍

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.

2 participants