obj: remove state_dsc, from now a simple state is enough

This commit is contained in:
Gabor Kiss-Vamosi
2020-02-21 16:56:05 +01:00
parent 78923b6b9b
commit a9d3dce55b
13 changed files with 114 additions and 148 deletions

View File

@@ -1342,7 +1342,7 @@ static lv_res_t lv_textarea_signal(lv_obj_t * ta, lv_signal_t sign, void * param
lv_get_state_info_t * info = param;
if(info->part == LV_TEXTAREA_PART_PLACEHOLDER) {
if(ext->placeholder) {
info->result = lv_obj_get_state_dsc(ext->placeholder, LV_LABEL_PART_MAIN);
info->result = lv_obj_get_state(ext->placeholder, LV_LABEL_PART_MAIN);
} else {
info->result = NULL;
}