mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 01:18:04 +08:00
lv_group_create: inititalize missing fields
This commit is contained in:
@@ -64,6 +64,8 @@ lv_group_t * lv_group_create(void)
|
|||||||
group->focus_cb = NULL;
|
group->focus_cb = NULL;
|
||||||
group->click_focus = 1;
|
group->click_focus = 1;
|
||||||
group->editing = 0;
|
group->editing = 0;
|
||||||
|
group->refocus_policy = LV_GROUP_REFOCUS_POLICY_PREV;
|
||||||
|
group->wrap = 1;
|
||||||
|
|
||||||
/*Initialize style modification callbacks from current theme*/
|
/*Initialize style modification callbacks from current theme*/
|
||||||
refresh_theme(group, lv_theme_get_current());
|
refresh_theme(group, lv_theme_get_current());
|
||||||
|
|||||||
Reference in New Issue
Block a user