Add GraphEdit connection layer child as internal
This commit is contained in:
parent
ad72de5083
commit
60cb44e84c
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue