1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(checkbox) add missing invalifations

This commit is contained in:
Gabor Kiss-Vamosi 2021-09-13 11:23:57 +02:00
parent f215174999
commit bb39e9d6f9

View File

@ -85,6 +85,7 @@ void lv_checkbox_set_text(lv_obj_t * obj, const char * txt)
cb->static_txt = 0;
lv_obj_refresh_self_size(obj);
lv_obj_invalidate(obj);
}
void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt)
@ -97,6 +98,7 @@ void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt)
cb->static_txt = 1;
lv_obj_refresh_self_size(obj);
lv_obj_invalidate(obj);
}
/*=====================