You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Editor settings categories are now tidy and beautiful!
This commit is contained in:
@@ -392,7 +392,7 @@ SampleEditor::SampleEditor() {
|
||||
add_child(stop);
|
||||
|
||||
peakdisplay=Ref<ImageTexture>( memnew( ImageTexture) );
|
||||
peakdisplay->create( EDITOR_DEF("audio/sample_editor_preview_width",512),EDITOR_DEF("audio/sample_editor_preview_height",128),Image::FORMAT_RGB8);
|
||||
peakdisplay->create( EDITOR_DEF("editors/sample_editor/preview_width",512),EDITOR_DEF("editors/sample_editor/preview_height",128),Image::FORMAT_RGB8);
|
||||
sample_texframe->set_expand(true);
|
||||
sample_texframe->set_texture(peakdisplay);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user