Merge pull request #68624 from AleCamara/bug-67235-gradient-slider

Fix clicking in gradient editor
This commit is contained in:
Rémi Verschelde 2022-11-14 18:29:52 +01:00
commit 7dafe06e27
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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.