Improve transition enabled header in interactive music editor

This commit is contained in:
kobewi 2024-05-08 14:19:11 +02:00
parent 281fe39929
commit a880b2dcba

View file

@ -340,8 +340,8 @@ AudioStreamInteractiveTransitionEditor::AudioStreamInteractiveTransitionEditor()
split->add_child(edit_vb); split->add_child(edit_vb);
transition_enabled = memnew(CheckBox); transition_enabled = memnew(CheckBox);
transition_enabled->set_text(TTR("Use Transition")); transition_enabled->set_text(TTR("Enabled"));
edit_vb->add_margin_child(TTR("Transition Enabled:"), transition_enabled); edit_vb->add_margin_child(TTR("Use Transition:"), transition_enabled);
transition_enabled->connect("pressed", callable_mp(this, &AudioStreamInteractiveTransitionEditor::_edited)); transition_enabled->connect("pressed", callable_mp(this, &AudioStreamInteractiveTransitionEditor::_edited));
transition_from = memnew(OptionButton); transition_from = memnew(OptionButton);