summaryrefslogtreecommitdiff
path: root/modules/noise
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/noise
parentabe8b88702cdb4ce5ce154c31cb989e1cee56b5e (diff)
Rename Control PRESET_WIDE to PRESET_FULL_RECT
Diffstat (limited to 'modules/noise')
-rw-r--r--modules/noise/editor/noise_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/editor/noise_editor_plugin.cpp b/modules/noise/editor/noise_editor_plugin.cpp
index 32c3f0aad4..27a86f45b5 100644
--- a/modules/noise/editor/noise_editor_plugin.cpp
+++ b/modules/noise/editor/noise_editor_plugin.cpp
@@ -54,7 +54,7 @@ public:
set_custom_minimum_size(Size2(0, EDSCALE * PREVIEW_HEIGHT));
_texture_rect = memnew(TextureRect);
- _texture_rect->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
+ _texture_rect->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
_texture_rect->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_COVERED);
add_child(_texture_rect);