diff options
| author | Juan Linietsky | 2017-01-12 18:27:27 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-12 18:28:12 -0300 |
| commit | da477b76a98ee7ca4ac16773d3baf1299e053da7 (patch) | |
| tree | 8cd8611b43081d51df4a293ae0b27f0b8ce50fa2 /tools/editor/plugins/sample_editor_plugin.cpp | |
| parent | a971186c266de2df818a7f3dc063a49b0ad51bd8 (diff) | |
| download | godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.gz godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.zst godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.zip | |
Diffstat (limited to 'tools/editor/plugins/sample_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/sample_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sample_editor_plugin.cpp b/tools/editor/plugins/sample_editor_plugin.cpp index 12ec7c826..afc151b90 100644 --- a/tools/editor/plugins/sample_editor_plugin.cpp +++ b/tools/editor/plugins/sample_editor_plugin.cpp @@ -361,7 +361,7 @@ SampleEditor::SampleEditor() { add_style_override("panel", get_stylebox("panel","Panel")); library = Ref<SampleLibrary>(memnew(SampleLibrary)); player->set_sample_library(library); - sample_texframe = memnew( TextureFrame ); + sample_texframe = memnew( TextureRect ); add_child(sample_texframe); sample_texframe->set_anchor_and_margin(MARGIN_LEFT,ANCHOR_BEGIN,5); sample_texframe->set_anchor_and_margin(MARGIN_RIGHT,ANCHOR_END,5); |
