mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix set_digit_format
This commit is contained in:
parent
b0962095f3
commit
d5747a0379
@ -146,7 +146,7 @@ void lv_spinbox_set_digit_format(const lv_obj_t * spinbox, uint8_t digit_count,
|
||||
if(digit_count > LV_SPINBOX_MAX_DIGIT_COUNT)
|
||||
digit_count = LV_SPINBOX_MAX_DIGIT_COUNT;
|
||||
|
||||
if(separator_position < LV_SPINBOX_MAX_DIGIT_COUNT)
|
||||
if(separator_position > LV_SPINBOX_MAX_DIGIT_COUNT)
|
||||
separator_position = LV_SPINBOX_MAX_DIGIT_COUNT;
|
||||
|
||||
ext->digit_count = digit_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user