1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00

Fix Set sym end angle

This commit is contained in:
Adam Martini 2020-06-22 22:53:58 -07:00
parent 83d05f945f
commit 0aeb49d28a

View File

@ -195,7 +195,7 @@ void lv_rotary_set_value(lv_obj_t * rotary, int16_t value, lv_anim_enable_t anim
ext->arc.bg_angle_start, bg_midpoint) ext->arc.bg_angle_start, bg_midpoint)
); );
} else { } else {
lv_arc_set_start_angle( lv_arc_set_end_angle(
rotary, rotary,
_lv_map(ext->cur_value, range_midpoint, ext->max_value, _lv_map(ext->cur_value, range_midpoint, ext->max_value,
bg_midpoint, bg_end) bg_midpoint, bg_end)