mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09: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:
@ -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>
|
||||
|
Reference in New Issue
Block a user