Skip to content

Commit

Permalink
Merge pull request #97551 from lalitshankarchowdhury/resize-audio-wav…
Browse files Browse the repository at this point in the history
…eform

AudioStreamImport: Allow waveform resize
  • Loading branch information
Repiteo committed Nov 11, 2024
2 parents 95a5034 + c574377 commit 204f589
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions editor/import/audio_stream_import_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,10 @@ AudioStreamImportSettingsDialog::AudioStreamImportSettingsDialog() {
bar_beats_edit->set_max(32);
bar_beats_edit->connect(SceneStringName(value_changed), callable_mp(this, &AudioStreamImportSettingsDialog::_settings_changed).unbind(1));
interactive_hb->add_child(bar_beats_edit);
interactive_hb->add_spacer();
main_vbox->add_margin_child(TTR("Music Playback:"), interactive_hb);

color_rect = memnew(ColorRect);
main_vbox->add_margin_child(TTR("Preview:"), color_rect);

main_vbox->add_margin_child(TTR("Preview:"), color_rect, true);
color_rect->set_custom_minimum_size(Size2(600, 200) * EDSCALE);
color_rect->set_v_size_flags(Control::SIZE_EXPAND_FILL);

Expand Down

0 comments on commit 204f589

Please sign in to comment.