提交 6111a6a7 编写于 作者: Z Zhouyj

Description: fix label display error

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I5NJ3N
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: Nzhouyj <zhouyuanjie1@huawei.com>
上级 0549c130
......@@ -310,6 +310,7 @@ void DrawLabel::DrawLineBackgroundColor(BufferInfo& gfxDstBuffer, uint16_t lette
{
uint32_t i = 0;
while (i < labelLine.lineLength) {
TypedText::GetUTF8Next(labelLine.text, i, i);
bool havelinebackground = false;
ColorType linebackgroundColor;
GetLineBackgroundColor(letterIndex, labelLine.linebackgroundColor, havelinebackground, linebackgroundColor);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册