summaryrefslogtreecommitdiffstats
path: root/editor/gui
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-19 15:20:10 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-19 15:20:10 -0600
commite4dbba94d9019dddc620b0c0c71f265dd857bb51 (patch)
tree8a6a0ac61c19ea0e1af42f1111866b40658edcbb /editor/gui
parent97b3dd4cfe022abfb7d506fea55fbe9f711fc889 (diff)
parente283fdfb595d34af3832e95c614e2a57743af00a (diff)
downloadredot-engine-e4dbba94d9019dddc620b0c0c71f265dd857bb51.tar.gz
Merge pull request #99324 from TokageItLab/fix-fpe-spinner
Fix spinner in AnimationTrackEdit in FPS mode
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 712e91faca..aa9e9f841d 100644
--- a/editor/gui/editor_spin_slider.cpp
+++ b/editor/gui/editor_spin_slider.cpp
@@ -67,6 +67,7 @@ void EditorSpinSlider::gui_input(const Ref<InputEvent> &p_event) {
} else {
set_value(get_value() - get_step());
}
+ emit_signal("updown_pressed");
return;
}
_grab_start();
@@ -696,6 +697,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"));