Fix TAB key usage in EditorSpinSlider (and hence inpector).

* This ensures that the tab key usage is correct in all situations in EditorSpinSlider
* The ESC key can also close the lineedit popup.

I can't find a proper issue to fix, but partially solves the concerns raised in #37723.
This commit is contained in:
Juan Linietsky 2023-01-12 14:13:49 +01:00
parent caf94f244e
commit 2543aec5e4
2 changed files with 13 additions and 6 deletions

View file

@ -65,7 +65,7 @@ class EditorSpinSlider : public Range {
Control *value_input_popup = nullptr;
LineEdit *value_input = nullptr;
bool value_input_just_closed = false;
uint64_t value_input_closed_frame = 0;
bool value_input_dirty = false;
bool hide_slider = false;