diff options
| author | Volka <77184943+volkathemartian@users.noreply.github.com> | 2021-01-15 00:42:15 -0500 |
|---|---|---|
| committer | Volka <77184943+volkathemartian@users.noreply.github.com> | 2021-01-26 21:17:31 -0500 |
| commit | ae2cf8eb382db2b6c8d597f0015db976eb433500 (patch) | |
| tree | eb2afa97eb5f92743439b81c6260e886cab7afeb /scene/gui/spin_box.cpp | |
| parent | 1f5669d8d4a9515d605ad9fc55313fc27bd6d250 (diff) | |
| download | redot-engine-ae2cf8eb382db2b6c8d597f0015db976eb433500.tar.gz | |
Fix unintended SpinBox mouse capture
Diffstat (limited to 'scene/gui/spin_box.cpp')
| -rw-r--r-- | scene/gui/spin_box.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 037a60810e..32c878205e 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -280,7 +280,6 @@ SpinBox::SpinBox() { line_edit->connect("text_entered", callable_mp(this, &SpinBox::_text_entered), Vector<Variant>(), CONNECT_DEFERRED); line_edit->connect("focus_exited", callable_mp(this, &SpinBox::_line_edit_focus_exit), Vector<Variant>(), CONNECT_DEFERRED); line_edit->connect("gui_input", callable_mp(this, &SpinBox::_line_edit_input)); - drag.enabled = false; range_click_timer = memnew(Timer); range_click_timer->connect("timeout", callable_mp(this, &SpinBox::_range_click_timeout)); |
