From 20ab09a1d5748adab351413a3569ade1db4a3c40 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 29 Aug 2018 20:42:38 +0200 Subject: [PATCH] lv_btn: ink bugfix --- lv_objx/lv_btn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lv_objx/lv_btn.c b/lv_objx/lv_btn.c index b6628b1c6..bf5fa0d78 100644 --- a/lv_objx/lv_btn.c +++ b/lv_objx/lv_btn.c @@ -546,6 +546,7 @@ static lv_res_t lv_btn_signal(lv_obj_t * btn, lv_signal_t sign, void * param) if(ink_obj != NULL && ink_obj != btn) { lv_anim_del(ink_obj, (lv_anim_fp_t)lv_btn_ink_effect_anim); lv_obj_invalidate(ink_obj); + ink_obj = NULL; } /*Save the new data for inking and start it's animation if enabled*/ if(ext->ink_in_time > 0) {