From abdcc04f09ef9c958d7f6cfc6579c16cbfe353e9 Mon Sep 17 00:00:00 2001 From: Toni Neubert Date: Tue, 12 Nov 2024 09:38:28 +0100 Subject: [PATCH] fix(indev): don't reset all indevs if an object is set disabled (#7216) --- src/core/lv_obj.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/lv_obj.c b/src/core/lv_obj.c index afeba25a7..03c04abde 100644 --- a/src/core/lv_obj.c +++ b/src/core/lv_obj.c @@ -309,11 +309,6 @@ void lv_obj_add_state(lv_obj_t * obj, lv_state_t state) lv_state_t new_state = obj->state | state; if(obj->state != new_state) { - - if(new_state & ~obj->state & LV_STATE_DISABLED) { - lv_indev_reset(NULL, obj); - } - update_obj_state(obj, new_state); } }