Skip to content

Commit

Permalink
Merge pull request #77849 from TokageItLab/add-spring-tween-to-track-…
Browse files Browse the repository at this point in the history
…editor

Add spring tween to `AnimationTrackEditor`
  • Loading branch information
YuriSizov authored Jun 6, 2023
2 parents b99a023 + 1420580 commit 2cec7e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/animation_track_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6720,6 +6720,7 @@ AnimationTrackEditor::AnimationTrackEditor() {
transition_selection->add_item(TTR("Circ", "Transition Type"), Tween::TRANS_CIRC);
transition_selection->add_item(TTR("Bounce", "Transition Type"), Tween::TRANS_BOUNCE);
transition_selection->add_item(TTR("Back", "Transition Type"), Tween::TRANS_BACK);
transition_selection->add_item(TTR("Spring", "Transition Type"), Tween::TRANS_SPRING);
transition_selection->select(Tween::TRANS_LINEAR); // Default
transition_selection->set_auto_translate(false); // Translation context is needed.
ease_selection = memnew(OptionButton);
Expand Down

0 comments on commit 2cec7e9

Please sign in to comment.