refactor(style): rename style_anim_time -> style_anim_duration (#5338)

This commit is contained in:
Gabor Kiss-Vamosi
2024-01-15 17:59:18 +01:00
committed by GitHub
parent d757aa24de
commit fb0fc86895
21 changed files with 85 additions and 66 deletions

View File

@@ -165,7 +165,7 @@ static void obj_test_task_cb(lv_timer_t * tmr)
auto_delete(obj, LV_DEMO_STRESS_TIME_STEP * 2 + 70);
obj = lv_slider_create(main_page);
lv_obj_set_style_anim_time(obj, LV_DEMO_STRESS_TIME_STEP * 8, 0);
lv_obj_set_style_anim_duration(obj, LV_DEMO_STRESS_TIME_STEP * 8, 0);
lv_slider_set_value(obj, 5000, LV_ANIM_ON); /*Animate to out of range value*/
auto_delete(obj, LV_DEMO_STRESS_TIME_STEP * 5 + 22);