diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-01-12 14:13:49 +0100 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-01-12 14:13:49 +0100 |
commit | 2543aec5e4ce1b6018b6b7ecfd862290ec5462f8 (patch) | |
tree | c819b231c2c1b094ce9e8bd59f13ff7277d78877 /editor/editor_spin_slider.h | |
parent | caf94f244e1a952300c6426f5d7d9939dd93d472 (diff) | |
download | redot-engine-2543aec5e4ce1b6018b6b7ecfd862290ec5462f8.tar.gz |
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.
Diffstat (limited to 'editor/editor_spin_slider.h')
-rw-r--r-- | editor/editor_spin_slider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_spin_slider.h b/editor/editor_spin_slider.h index 99eb953166..a4d810b18b 100644 --- a/editor/editor_spin_slider.h +++ b/editor/editor_spin_slider.h @@ -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; |