Make EditorSpinSlider wait for text on key_up/down

This commit is contained in:
Francois Belair 2021-10-26 16:38:45 -04:00
parent 8c162f4a7b
commit 3f3cd15e07
2 changed files with 13 additions and 2 deletions

View file

@ -66,6 +66,7 @@ class EditorSpinSlider : public Range {
Popup *value_input_popup = nullptr;
LineEdit *value_input = nullptr;
bool value_input_just_closed = false;
bool value_input_dirty = false;
void _grabber_gui_input(const Ref<InputEvent> &p_event);
void _value_input_closed();