Optimizatzon of signal sending, child_chg_off added as lv_obj attribute

This commit is contained in:
Gabor
2016-06-22 15:16:08 +02:00
parent d987f08be9
commit 451a30cf07
5 changed files with 67 additions and 35 deletions

View File

@@ -206,9 +206,6 @@ void lv_label_set_text(lv_obj_t * obj_dp, const char * text)
/*With fix width only the height can change*/
lv_obj_set_height(obj_dp, new_height);
}
lv_obj_t * parent_dp = lv_obj_get_parent(obj_dp);
parent_dp->signal_f(parent_dp, LV_SIGNAL_CHILD_CHG, obj_dp);
lv_obj_inv(obj_dp);
}