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

Fixed syntax error in lv_bar.c when animations are disabled

This commit is contained in:
Brian Pugh 2019-05-20 10:04:36 -07:00
parent 3cc2043fd7
commit cbb9c3f73b

View File

@ -345,9 +345,9 @@ static bool lv_bar_design(lv_obj_t * bar, const lv_area_t * mask, lv_design_mode
#endif #endif
lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar); lv_bar_ext_t * ext = lv_obj_get_ext_attr(bar);
if(ext->cur_value != ext->min_value || ext->sym || if(ext->cur_value != ext->min_value || ext->sym
#if LV_USE_ANIMATION #if LV_USE_ANIMATION
ext->anim_start != LV_BAR_ANIM_STATE_INV || ext->anim_start != LV_BAR_ANIM_STATE_INV
#endif #endif
) { ) {
const lv_style_t * style_indic = lv_bar_get_style(bar, LV_BAR_STYLE_INDIC); const lv_style_t * style_indic = lv_bar_get_style(bar, LV_BAR_STYLE_INDIC);