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

Initialize rotation value

This commit is contained in:
xennex22 2020-03-30 09:13:07 -07:00 committed by GitHub
parent 7e8f6368d6
commit 61553426ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,7 @@ lv_obj_t * lv_arc_create(lv_obj_t * par, const lv_obj_t * copy)
if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(arc);
/*Initialize the allocated 'ext' */
ext->rotation_angle = 0;
ext->bg_angle_start = 135;
ext->bg_angle_end = 45;
ext->arc_angle_start = 135;