Merge pull request #68624 from AleCamara/bug-67235-gradient-slider
Fix clicking in gradient editor
This commit is contained in:
commit
7dafe06e27
|
@ -203,6 +203,7 @@ void GradientEditor::gui_input(const Ref<InputEvent> &p_event) {
|
||||||
grabbed = _get_point_from_pos(mb->get_position().x);
|
grabbed = _get_point_from_pos(mb->get_position().x);
|
||||||
_show_color_picker();
|
_show_color_picker();
|
||||||
accept_event();
|
accept_event();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete point on right click.
|
// Delete point on right click.
|
||||||
|
|
Loading…
Reference in New Issue