提交 e25c8060 编写于 作者: O openharmony_ci 提交者: Gitee

!447 页面切换时UITextureMapper设置的旋转缩放未生效

Merge pull request !447 from wangtiantian/bug_mapper_m
......@@ -54,6 +54,9 @@ void UITextureMapper::Start()
{
rotateStart_ = rotateCur_;
scaleStart_ = scaleCur_;
float scale = static_cast<float>(scaleStart_) / SCALE_CONVERTION;
Scale(Vector2<float>(scale, scale), pivot_);
Rotate(rotateStart_, pivot_);
animator_.Start();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册