mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
demo(benchmark): fix black screen issue
This commit is contained in:
parent
490f3da4e7
commit
7e923d2a26
@ -753,6 +753,8 @@ static void benchmark_init(void)
|
||||
lv_obj_t * scr = lv_scr_act();
|
||||
lv_obj_remove_style_all(scr);
|
||||
lv_obj_set_style_bg_opa(scr, LV_OPA_COVER, 0);
|
||||
lv_obj_set_style_bg_color(scr, lv_palette_lighten(LV_PALETTE_GREY, 4), 0);
|
||||
lv_obj_set_style_text_color(scr, lv_color_black(), 0);
|
||||
|
||||
title = lv_label_create(scr);
|
||||
lv_obj_set_pos(title, LV_DPI_DEF / 30, LV_DPI_DEF / 30);
|
||||
|
Loading…
x
Reference in New Issue
Block a user