mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 12:37:38 +09:00
Use BindValueChanged
with last running immediately instead
This commit is contained in:
parent
0b3b9e35ba
commit
7bc30b46ff
@ -125,10 +125,10 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
comboIndexBindable = comboInfo.ComboIndexBindable.GetBoundCopy();
|
comboIndexBindable = comboInfo.ComboIndexBindable.GetBoundCopy();
|
||||||
comboIndexWithOffsetsBindable = comboInfo.ComboIndexWithOffsetsBindable.GetBoundCopy();
|
comboIndexWithOffsetsBindable = comboInfo.ComboIndexWithOffsetsBindable.GetBoundCopy();
|
||||||
|
|
||||||
comboIndexBindable.ValueChanged += _ => updateColour();
|
comboIndexBindable.BindValueChanged(_ => updateColour());
|
||||||
comboIndexWithOffsetsBindable.ValueChanged += _ => updateColour();
|
comboIndexWithOffsetsBindable.BindValueChanged(_ => updateColour(), true);
|
||||||
|
|
||||||
skin.SourceChanged += updateColour;
|
skin.SourceChanged += updateColour;
|
||||||
updateColour();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user