mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 01:18:04 +08:00
fix(event): don't try to trickle to deleted widgets (#8777)
This commit is contained in:
committed by
GitHub
parent
0e03abce1c
commit
d3d26d9b1c
@@ -381,6 +381,7 @@ static lv_result_t event_send_core(lv_event_t * e)
|
|||||||
e->current_target = parent;
|
e->current_target = parent;
|
||||||
res = event_send_core(e);
|
res = event_send_core(e);
|
||||||
}
|
}
|
||||||
|
if(res != LV_RESULT_OK) return res;
|
||||||
|
|
||||||
/*Trickle down to children if enabled*/
|
/*Trickle down to children if enabled*/
|
||||||
if(event_is_trickled(e)) {
|
if(event_is_trickled(e)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user