Update colours once on TimelineHitObjectBlueprint

This commit is contained in:
Salman Ahmed 2021-07-23 06:24:58 +03:00
parent 20adfabc97
commit ee3791ccf2

View File

@ -123,12 +123,12 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
indexInCurrentComboBindable.BindValueChanged(_ => updateComboIndex(), true);
comboIndexBindable = comboInfo.ComboIndexBindable.GetBoundCopy();
comboIndexBindable.BindValueChanged(_ => updateColour(), true);
comboIndexWithOffsetsBindable = comboInfo.ComboIndexWithOffsetsBindable.GetBoundCopy();
comboIndexWithOffsetsBindable.BindValueChanged(_ => updateColour(), true);
comboIndexBindable.ValueChanged += _ => updateColour();
comboIndexWithOffsetsBindable.ValueChanged += _ => updateColour();
skin.SourceChanged += updateColour;
updateColour();
break;
}
}