mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Merge pull request #134 from chenshijianworkgit/beta
gauge's label count is not inherited
This commit is contained in:
commit
7da60e219d
@ -106,7 +106,7 @@ lv_obj_t * lv_gauge_create(lv_obj_t * par, lv_obj_t * copy)
|
|||||||
for(i = 0; i < ext->needle_count; i++) {
|
for(i = 0; i < ext->needle_count; i++) {
|
||||||
ext->values[i] = copy_ext->values[i];
|
ext->values[i] = copy_ext->values[i];
|
||||||
}
|
}
|
||||||
|
ext->label_count = copy_ext->label_count;
|
||||||
/*Refresh the style with new signal function*/
|
/*Refresh the style with new signal function*/
|
||||||
lv_obj_refresh_style(new_gauge);
|
lv_obj_refresh_style(new_gauge);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user