mirror of https://github.com/ppy/osu
Update colours once on `TimelineHitObjectBlueprint`
This commit is contained in:
parent
20adfabc97
commit
ee3791ccf2
|
@ -123,12 +123,12 @@ protected override void LoadComplete()
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue