summaryrefslogtreecommitdiff
path: root/editor/plugins/gradient_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/gradient_editor.cpp')
-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.