提交 f9864fc8 编写于 作者: W wangtiantian 提交者: Gitee

IssueNo:https://gitee.com/openharmony/graphic_ui/issues/I4C4VH

Description:fix UITextureMapper bug
Sig:graphic
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Nwangtiantian <wangtiantian19@huawei.com>
上级 8e196a4d
......@@ -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.
先完成此消息的编辑!
想要评论请 注册