summaryrefslogtreecommitdiffstats
path: root/editor/gui
diff options
context:
space:
mode:
authorSpartan322 <Megacake1234@gmail.com>2024-11-20 16:20:16 -0500
committerSpartan322 <Megacake1234@gmail.com>2024-11-20 18:02:42 -0500
commit9857e4762b8d076259c4be863ba9f53df306d940 (patch)
treeb03c5b5de96e29ffb7e1b008912d21aba5629bc5 /editor/gui
parentfd9045fe09e9bea691f0169c16d45cbebddb6bba (diff)
parent9e6098432aac35bae42c9089a29ba2a80320d823 (diff)
downloadredot-engine-9857e4762b8d076259c4be863ba9f53df306d940.tar.gz
Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823
Diffstat (limited to 'editor/gui')
-rw-r--r--editor/gui/editor_spin_slider.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/gui/editor_spin_slider.cpp b/editor/gui/editor_spin_slider.cpp
index 54fde9b119..1065783f0c 100644
--- a/editor/gui/editor_spin_slider.cpp
+++ b/editor/gui/editor_spin_slider.cpp
@@ -69,6 +69,7 @@ void EditorSpinSlider::gui_input(const Ref<InputEvent> &p_event) {
} else {
set_value(get_value() - get_step());
}
+ emit_signal("updown_pressed");
return;
}
_grab_start();
@@ -698,6 +699,7 @@ void EditorSpinSlider::_bind_methods() {
ADD_SIGNAL(MethodInfo("grabbed"));
ADD_SIGNAL(MethodInfo("ungrabbed"));
+ ADD_SIGNAL(MethodInfo("updown_pressed"));
ADD_SIGNAL(MethodInfo("value_focus_entered"));
ADD_SIGNAL(MethodInfo("value_focus_exited"));