diff options
author | FireForge <isaacr.7.2005@gmail.com> | 2022-03-18 19:02:57 -0500 |
---|---|---|
committer | FireForge <67974470+fire-forge@users.noreply.github.com> | 2022-07-18 20:08:11 -0500 |
commit | 97dfbea6adc5cc2e2df4b26a34dfb0275991e335 (patch) | |
tree | 70f3c464523a786f57c4e807395916c9ac1a5e6a /editor/plugins/audio_stream_editor_plugin.cpp | |
parent | abe8b88702cdb4ce5ce154c31cb989e1cee56b5e (diff) | |
download | redot-engine-97dfbea6adc5cc2e2df4b26a34dfb0275991e335.tar.gz |
Rename Control PRESET_WIDE to PRESET_FULL_RECT
Diffstat (limited to 'editor/plugins/audio_stream_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/audio_stream_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/audio_stream_editor_plugin.cpp b/editor/plugins/audio_stream_editor_plugin.cpp index a60e49ca9d..9b874ada45 100644 --- a/editor/plugins/audio_stream_editor_plugin.cpp +++ b/editor/plugins/audio_stream_editor_plugin.cpp @@ -213,7 +213,7 @@ AudioStreamEditor::AudioStreamEditor() { add_child(_player); VBoxContainer *vbox = memnew(VBoxContainer); - vbox->set_anchors_and_offsets_preset(PRESET_WIDE, PRESET_MODE_MINSIZE, 0); + vbox->set_anchors_and_offsets_preset(PRESET_FULL_RECT, PRESET_MODE_MINSIZE, 0); add_child(vbox); _preview = memnew(ColorRect); @@ -222,7 +222,7 @@ AudioStreamEditor::AudioStreamEditor() { vbox->add_child(_preview); _indicator = memnew(Control); - _indicator->set_anchors_and_offsets_preset(PRESET_WIDE); + _indicator->set_anchors_and_offsets_preset(PRESET_FULL_RECT); _indicator->connect("draw", callable_mp(this, &AudioStreamEditor::_draw_indicator)); _indicator->connect("gui_input", callable_mp(this, &AudioStreamEditor::_on_input_indicator)); _preview->add_child(_indicator); |