mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +08:00
Always initialize DHO transforms on LoadComplete
With the previous commit, the transform application is skipped when the state is already changed. But it turns out the previous commit breaks slider animation in the standard editor. This is probably due to the transforms are applied before nested hit objects are added.
This commit is contained in:
parent
53b9852034
commit
c63dfa21e1
@ -190,9 +190,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
comboIndexBindable.BindValueChanged(_ => UpdateComboColour());
|
||||
comboIndexWithOffsetsBindable.BindValueChanged(_ => UpdateComboColour(), true);
|
||||
|
||||
// If the state is changed, transforms are already initialized.
|
||||
if (state.Value == ArmedState.Idle)
|
||||
updateState(ArmedState.Idle, true);
|
||||
// Apply transforms
|
||||
updateState(State.Value, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user