diff --git a/src/lv_core/lv_obj.c b/src/lv_core/lv_obj.c index 27cc6df4bd..6fbb450c52 100644 --- a/src/lv_core/lv_obj.c +++ b/src/lv_core/lv_obj.c @@ -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;