revert(event): use original_target and target to follow JS conventions

fixes #4050
This commit is contained in:
Gabor Kiss-Vamosi
2023-03-20 14:24:21 +01:00
parent cdcd6cf5ef
commit 1faa4c8d7a
13 changed files with 36 additions and 36 deletions

View File

@@ -19,7 +19,7 @@ void lv_example_gridnav_4(void)
lv_obj_t * list = lv_list_create(lv_scr_act());
lv_gridnav_add(list, LV_GRIDNAV_CTRL_ROLLOVER);
lv_obj_align(list, LV_ALIGN_LEFT_MID, 0, 10);
lv_obj_align(list, LV_ALIGN_LEFT_MID, 10, 0);
lv_group_add_obj(lv_group_get_default(), list);
uint32_t i;
@@ -39,7 +39,7 @@ void lv_example_gridnav_4(void)
}
lv_obj_t * btn = lv_btn_create(lv_scr_act());
lv_obj_align(btn, LV_ALIGN_RIGHT_MID, 0, -10);
lv_obj_align(btn, LV_ALIGN_RIGHT_MID, -10, 0);
lv_obj_t * label = lv_label_create(btn);
lv_label_set_text(label, "Button");
}