Allow overriding SpinBox value on focus_exited

This commit is contained in:
Lars Pettersson 2024-12-27 21:56:01 +01:00
parent 89001f91d2
commit 3c1ac98f37
No known key found for this signature in database
GPG key ID: CC050E7B46DF7540
2 changed files with 13 additions and 15 deletions

View file

@ -58,13 +58,13 @@ class SpinBox : public Range {
void _range_click_timeout();
void _release_mouse_from_drag_mode();
void _update_text(bool p_keep_line_edit = false);
void _update_text(bool p_only_update_if_value_changed = false);
void _text_submitted(const String &p_string);
void _text_changed(const String &p_string);
String prefix;
String suffix;
String last_updated_text;
String last_text_value;
double custom_arrow_step = 0.0;
bool use_custom_arrow_step = false;