I am having a strange overlapping issue while trying to load a screen from another screen.
For example, let say in a task I am doing this:
lv_scr_load_anim(home_scr, LV_SCR_LOAD_ANIM_FADE_ON, 500, 10, 0); //create another task to load the menu after some delay task2 = lv_task_create(menu_scr_load, 3000, LV_TASK_PRIO_MID, NULL); lv_task_once(task2);
and in task2
lv_scr_load_anim(main_menu_scr, LV_SCR_LOAD_ANIM_FADE_ON, 500, 10, 0);
this works fine in the simulator, but when i ran it on my hardware, then 2 screens kinda overlap each other & creates a mess. Do i have to somehow manually clean the prev screen after/before loading a new screen?
This is just to simulate that screen loading works fine with my code, in reality it will be triggered by a hw input ofc.