mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
preload: fix style usage
This commit is contained in:
parent
16e7e4403e
commit
4c2ccf1d6b
@ -276,8 +276,8 @@ static bool lv_preload_design(lv_obj_t * preload, const lv_area_t * mask, lv_des
|
||||
lv_style_copy(&bg_style, &lv_style_plain);
|
||||
bg_style.body.empty = 1;
|
||||
bg_style.body.radius = LV_RADIUS_CIRCLE;
|
||||
bg_style.body.border.color = style->body.aux_color;
|
||||
bg_style.body.border.width = style->body.thickness;
|
||||
bg_style.body.border.color = style->body.border.color;
|
||||
bg_style.body.border.width = style->body.border.width;
|
||||
|
||||
lv_area_t bg_area;
|
||||
bg_area.x1 = x - r;
|
||||
|
Loading…
x
Reference in New Issue
Block a user