diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-29 11:20:04 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-29 11:20:04 +0200 |
commit | b60471f3c0ea219680e3e929a2940a8b9e6be18b (patch) | |
tree | 06515f5548cfd9792280cd483611c68d77cd6e78 /scene/gui/graph_edit.h | |
parent | 9bb858c8037629619457709979ae49ddecb710fc (diff) | |
parent | 28a2fa496f8830627a8678919a063cd15785d6c4 (diff) | |
download | redot-engine-b60471f3c0ea219680e3e929a2940a8b9e6be18b.tar.gz |
Merge pull request #92463 from Daylily-Zeleen/daylily-zeleen/fix_graph_edit_minimap_connection_line
[GraphEdit] Convert to minimap line after getting connection line.
Diffstat (limited to 'scene/gui/graph_edit.h')
-rw-r--r-- | scene/gui/graph_edit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index eeda9ae200..20c98c462c 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -328,7 +328,7 @@ private: void _top_connection_layer_input(const Ref<InputEvent> &p_ev); float _get_shader_line_width(); - void _draw_minimap_connection_line(CanvasItem *p_where, const Vector2 &p_from, const Vector2 &p_to, const Color &p_color, const Color &p_to_color); + void _draw_minimap_connection_line(const Vector2 &p_from_graph_position, const Vector2 &p_to_graph_position, const Color &p_from_color, const Color &p_to_color); void _invalidate_connection_line_cache(); void _update_top_connection_layer(); void _update_connections(); |