Fix spinBox will reset text when redrawing
This commit is contained in:
@ -46,12 +46,13 @@ class SpinBox : public Range {
|
||||
void _range_click_timeout();
|
||||
void _release_mouse();
|
||||
|
||||
void _update_text();
|
||||
void _update_text(bool p_keep_line_edit = false);
|
||||
void _text_submitted(const String &p_string);
|
||||
void _text_changed(const String &p_string);
|
||||
|
||||
String prefix;
|
||||
String suffix;
|
||||
String last_updated_text;
|
||||
double custom_arrow_step = 0.0;
|
||||
|
||||
void _line_edit_input(const Ref<InputEvent> &p_event);
|
||||
|
||||
Reference in New Issue
Block a user