提交 48a2ad68 编写于 作者: G guyuanzhang

Description:fix image Invalidate err when auto size

Sig:graphic
Feature or Bugfix:Feature
Binary Source:No
Signed-off-by: Nguyuanzhang <zhangguyuan@huawei.com>
上级 09a3ecbc
......@@ -378,6 +378,7 @@ void UIImageView::ReMeasure()
colorFormat_ = header.colorMode;
if (autoEnable_) {
Invalidate();
Resize(imageWidth_, imageHeight_);
Invalidate();
}
......@@ -421,4 +422,4 @@ void UIImageView::RemoveAndStopGifAnimator()
}
}
#endif
} // namespace OHOS
\ No newline at end of file
} // namespace OHOS
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册