BigW Consortium Gitlab

Commit c4763559 by Kiss-Vamosi Gabor

Minor bugfixes

parent fc83ee99
......@@ -27,7 +27,6 @@ typedef struct
{
font_types_t font;
color_t color;
color_t bg_color;
uint16_t letter_space;
uint16_t line_space;
uint8_t mid :1;
......
......@@ -67,15 +67,11 @@ lv_obj_t* lv_rect_create(lv_obj_t* par_dp, lv_obj_t * copy_dp)
lv_obj_set_design_f(new_obj_dp, lv_rect_design);
lv_obj_set_signal_f(new_obj_dp, lv_rect_signal);
/*Init the new rectangle*/
if(copy_dp == NULL) {
lv_obj_set_style(new_obj_dp, &lv_rects_def);
}
/*Copy 'copy_dp' if it is not NULL*/
else {
lv_obj_set_style(new_obj_dp, lv_obj_get_style(copy_dp));
}
return new_obj_dp;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment