mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
Fixed syntax error in lv_bar.c when animations are disabled
This commit is contained in:
parent
3cc2043fd7
commit
cbb9c3f73b
@ -345,9 +345,9 @@ static bool lv_bar_design(lv_obj_t * bar, const lv_area_t * mask, lv_design_mode
|
||||
#endif
|
||||
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
|
||||
ext->anim_start != LV_BAR_ANIM_STATE_INV
|
||||
|| ext->anim_start != LV_BAR_ANIM_STATE_INV
|
||||
#endif
|
||||
) {
|
||||
const lv_style_t * style_indic = lv_bar_get_style(bar, LV_BAR_STYLE_INDIC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user