mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 02:37:01 +08:00
feat(api_mapping): add ability to disable api mapping (#8745)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com> Co-authored-by: Liam Howatt <30486941+liamHowatt@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,8 @@ static void float_button_event_cb(lv_event_t * e)
|
||||
lv_obj_t * list_btn = lv_list_add_button(list, LV_SYMBOL_AUDIO, buf);
|
||||
btn_cnt++;
|
||||
|
||||
lv_obj_move_foreground(float_btn);
|
||||
/* Move the button to the foreground*/
|
||||
lv_obj_move_to_index(float_btn, -1);
|
||||
|
||||
lv_obj_scroll_to_view(list_btn, LV_ANIM_ON);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user