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

A bug of demo app: animation name isn't updated #18

Open
luqiming666 opened this issue Jun 3, 2022 · 0 comments
Open

A bug of demo app: animation name isn't updated #18

luqiming666 opened this issue Jun 3, 2022 · 0 comments

Comments

@luqiming666
Copy link

luqiming666 commented Jun 3, 2022

Steps to reproduce:

  1. add an animation;
  2. delete this animation;
  3. add a different animation

End-result: the very first animation name is shown instead of the newly added one.
I created a fix on my forked branch, as below:

public void bindTo(CustomAnimationBody animationBody) {
            binding.getModel().setAnimationBody(animationBody);
            binding.invalidateAll();
}
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