Merge pull request #20084 from guilhermefelipecgs/fix_visual_script_editor

Fix visual script editor interface
This commit is contained in:
Max Hilbrunner 2018-07-10 22:10:53 +02:00 committed by GitHub
commit b69422162d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3389,6 +3389,7 @@ VisualScriptEditor::VisualScriptEditor() {
graph = memnew(GraphEdit);
add_child(graph);
graph->set_v_size_flags(Control::SIZE_EXPAND_FILL);
graph->set_anchors_and_margins_preset(Control::PRESET_WIDE);
graph->connect("node_selected", this, "_node_selected");
graph->connect("_begin_node_move", this, "_begin_node_move");