Update colours once on `TimelineHitObjectBlueprint`

This commit is contained in:
Salman Ahmed 2021-07-23 06:24:58 +03:00
parent 20adfabc97
commit ee3791ccf2
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}