We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
初始加载不可见,若调用 setFillAmount() 则可以看到按比例填充了,但不会播放动画; 因为 ActionMovieClip 中 target->setSpriteFrame() 并没有触发 FUISprite 顶点数据更新。
简单修复:
void FUISprite::setSpriteFrame(SpriteFrame* newFrame) { Sprite::setSpriteFrame(newFrame); if (_fillMethod != FillMethod::None) setupFill(); }
The text was updated successfully, but these errors were encountered:
填充在设计上是不支持动画的。当然,这里对2dx的修复我感觉应该没问题。
Sorry, something went wrong.
No branches or pull requests
初始加载不可见,若调用 setFillAmount() 则可以看到按比例填充了,但不会播放动画;
因为 ActionMovieClip 中 target->setSpriteFrame() 并没有触发 FUISprite 顶点数据更新。
简单修复:
The text was updated successfully, but these errors were encountered: