Skip to content

Commit

Permalink
Merge pull request #85009 from Yagich/graphedit-connection-layer-inte…
Browse files Browse the repository at this point in the history
…rnal

Add GraphEdit connection layer child as internal
  • Loading branch information
akien-mga committed Nov 20, 2023
2 parents 80de898 + 60cb44e commit 8349302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/graph_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@ GraphEdit::GraphEdit() {
top_layer->connect("focus_exited", callable_mp(panner.ptr(), &ViewPanner::release_pan_key));

connections_layer = memnew(Control);
add_child(connections_layer, false);
add_child(connections_layer, false, INTERNAL_MODE_FRONT);
connections_layer->connect("draw", callable_mp(this, &GraphEdit::_connections_layer_draw));
connections_layer->set_name("_connection_layer");
connections_layer->set_disable_visibility_clip(true); // Necessary, so it can draw freely and be offset.
Expand Down

0 comments on commit 8349302

Please sign in to comment.