未验证 提交 31ae3fdf 编写于 作者: M mlw296395 提交者: Gitee

update frameworks/draw/draw_label.cpp.

Signed-off-by: Nmlw296395 <wangmiaolin050@chinasoftinc.com>
上级 99be14ea
......@@ -309,9 +309,7 @@ void DrawLabel::GetForegroundColor(uint16_t letterIndex, List<ForegroundColor>*
void DrawLabel::DrawLineBackgroundColor(BufferInfo& gfxDstBuffer, uint16_t letterIndex, const LabelLineInfo& labelLine)
{
uint32_t i = 0;
uint32_t letter;
while (i < labelLine.lineLength) {
letter = 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.
先完成此消息的编辑!
想要评论请 注册