summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-14 18:29:52 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-14 18:29:52 +0100
commit7dafe06e27ebf211160938229bad4aabf58e3272 (patch)
tree25abf7c46263439d47ca4f9c11ee577a5aa4357a /editor/plugins
parentbeed90ea6d4a3e779a115622776206cc6b052a6c (diff)
parentaebf3d9401d7e773ced8b1b63bb1ee02d8899b39 (diff)
Merge pull request #68624 from AleCamara/bug-67235-gradient-slider
Fix clicking in gradient editor
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/gradient_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/gradient_editor.cpp b/editor/plugins/gradient_editor.cpp
index 7039ada10a..f6d5adcd68 100644
--- a/editor/plugins/gradient_editor.cpp
+++ b/editor/plugins/gradient_editor.cpp
@@ -203,6 +203,7 @@ void GradientEditor::gui_input(const Ref<InputEvent> &p_event) {
grabbed = _get_point_from_pos(mb->get_position().x);
_show_color_picker();
accept_event();
+ return;
}
// Delete point on right click.