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

Should re-calculate the transforms if change the shader in the karaoke sprite text. #179

Conversation

andy840119
Copy link
Member

Closes issue #178

What's done in this PR:

  • Make the karaoke text in the center in the test case.
  • Adjust the test case to make it able to show the trigger transform count.
  • Should trigger the transform to be re-calculate if shader, text, font, alignment and spacing changed.
  • Reduce initial transform trigger count.

andy840119 added 4 commits May 6, 2022 21:52
Now it's able to show how many time refresh state has been triggered.
So we should make sure that it will be triggered at least once.
@andy840119 andy840119 added bug Something isn't working code quality labels May 6, 2022
@andy840119 andy840119 self-assigned this May 6, 2022
@andy840119 andy840119 merged commit 44cbc12 into karaoke-dev:master May 6, 2022
@andy840119 andy840119 deleted the add-test-case-for-checking-the-invalidate branch May 6, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code quality size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant