mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Initialize adv_hittest for non-screen objects
This commit is contained in:
parent
8f9fb4578c
commit
00ba66534d
@ -319,6 +319,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, const lv_obj_t * copy)
|
||||
#endif
|
||||
|
||||
/*Set attributes*/
|
||||
new_obj->adv_hittest = 0;
|
||||
new_obj->click = 1;
|
||||
new_obj->drag = 0;
|
||||
new_obj->drag_dir = LV_DRAG_DIR_BOTH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user