fix(gvar number edit): add voffset

This commit is contained in:
Raphael Coeffic
2022-06-12 17:59:50 +02:00
parent d1f94afcce
commit f80cd8cacc
+1 -1
View File
@@ -136,7 +136,7 @@ void GVarNumberEdit::update()
// number edit mode // number edit mode
act_field = num_field; act_field = num_field;
lv_obj_clear_flag(num_obj, LV_OBJ_FLAG_HIDDEN); lv_obj_clear_flag(num_obj, LV_OBJ_FLAG_HIDDEN);
num_field->setValue(value); num_field->setValue(value + voffset);
} }
if (has_focus) { if (has_focus) {