You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix clicking in gradient editor
- When double-clicking on the gradient we should open the colour picker and create a colour key. - Instead, we were also evaluating the click further down producing the colour key to move around.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user