summaryrefslogtreecommitdiff
path: root/modules/visual_script/editor
diff options
context:
space:
mode:
authorFireForge <isaacr.7.2005@gmail.com>2022-03-18 19:02:57 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-18 20:08:11 -0500
commit97dfbea6adc5cc2e2df4b26a34dfb0275991e335 (patch)
tree70f3c464523a786f57c4e807395916c9ac1a5e6a /modules/visual_script/editor
parentabe8b88702cdb4ce5ce154c31cb989e1cee56b5e (diff)
Rename Control PRESET_WIDE to PRESET_FULL_RECT
Diffstat (limited to 'modules/visual_script/editor')
-rw-r--r--modules/visual_script/editor/visual_script_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/editor/visual_script_editor.cpp b/modules/visual_script/editor/visual_script_editor.cpp
index d9419292ba..61ff56b62a 100644
--- a/modules/visual_script/editor/visual_script_editor.cpp
+++ b/modules/visual_script/editor/visual_script_editor.cpp
@@ -4628,7 +4628,7 @@ VisualScriptEditor::VisualScriptEditor() {
graph = memnew(GraphEdit);
add_child(graph);
graph->set_v_size_flags(Control::SIZE_EXPAND_FILL);
- graph->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
+ graph->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
graph->set_show_zoom_label(true);
graph->connect("node_selected", callable_mp(this, &VisualScriptEditor::_node_selected));
graph->connect("begin_node_move", callable_mp(this, &VisualScriptEditor::_begin_node_move));