mirror of
https://github.com/lvgl/lvgl.git
synced 2026-10-02 10:23:47 +08:00
fix(demo/music): fix flickering issue when going to the next album (#10237)
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
**********************/
|
||||
static lv_obj_t * ctrl;
|
||||
static lv_obj_t * list;
|
||||
static uint32_t music_height;
|
||||
static int32_t music_height;
|
||||
|
||||
static const char * title_list[] = {
|
||||
"Waiting for true love",
|
||||
|
||||
@@ -97,8 +97,8 @@ static lv_obj_t * play_obj;
|
||||
static const uint16_t (* spectrum)[4];
|
||||
static uint32_t spectrum_len;
|
||||
static const uint16_t rnd_array[30] = {994, 285, 553, 11, 792, 707, 966, 641, 852, 827, 44, 352, 146, 581, 490, 80, 729, 58, 695, 940, 724, 561, 124, 653, 27, 292, 557, 506, 382, 199};
|
||||
static uint32_t music_width = 0;
|
||||
static uint32_t music_height = 0;
|
||||
static int32_t music_width = 0;
|
||||
static int32_t music_height = 0;
|
||||
static uint32_t bar_color3_stop = 0;
|
||||
|
||||
/**********************
|
||||
|
||||
Reference in New Issue
Block a user