mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
Merge branch 'dev-6.1' of https://github.com/littlevgl/lvgl into dev-6.1
This commit is contained in:
@@ -406,9 +406,11 @@ static void lv_spinbox_updatevalue(lv_obj_t * spinbox)
|
|||||||
memset(buf, 0, sizeof(buf));
|
memset(buf, 0, sizeof(buf));
|
||||||
char * buf_p = buf;
|
char * buf_p = buf;
|
||||||
|
|
||||||
|
if (ext->range_min < 0) { // hide sign if there are only positive values
|
||||||
/*Add the sign*/
|
/*Add the sign*/
|
||||||
(*buf_p) = ext->value >= 0 ? '+' : '-';
|
(*buf_p) = ext->value >= 0 ? '+' : '-';
|
||||||
buf_p++;
|
buf_p++;
|
||||||
|
}
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
/*padding left*/
|
/*padding left*/
|
||||||
|
|||||||
Reference in New Issue
Block a user