Skip to content

Commit

Permalink
bringing in card manager stability fix from PR #6
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbreakfast committed Feb 21, 2020
1 parent aa28fcb commit 86b7294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion card-manager/src/lvgl/lv_objx/lv_label.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,9 @@ static bool lv_label_design(lv_obj_t * label, const lv_area_t * mask, lv_design_
if(ext->no_break != 0) flag |= LV_TXT_FLAG_NO_BREAK;
if(ext->align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER;

lv_draw_label(&coords, mask, style, ext->text, flag, &ext->offset);
if(ext->text != NULL) {
lv_draw_label(&coords, mask, style, ext->text, flag, &ext->offset);
}
}
return true;
}
Expand Down

0 comments on commit 86b7294

Please sign in to comment.