mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fix player loader not accepting star difficulty updates after display
This commit is contained in:
@ -197,21 +197,19 @@ namespace osu.Game.Screens.Play
|
|||||||
starRatingDisplay.Show();
|
starRatingDisplay.Show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
starRatingDisplay.Hide();
|
starRatingDisplay.Hide();
|
||||||
|
|
||||||
starDifficulty.ValueChanged += d =>
|
starDifficulty.ValueChanged += d =>
|
||||||
{
|
{
|
||||||
Debug.Assert(d.NewValue != null);
|
Debug.Assert(d.NewValue != null);
|
||||||
|
|
||||||
starRatingDisplay.Current.Value = d.NewValue.Value;
|
starRatingDisplay.Current.Value = d.NewValue.Value;
|
||||||
|
|
||||||
versionFlow.AutoSizeDuration = 300;
|
versionFlow.AutoSizeDuration = 300;
|
||||||
versionFlow.AutoSizeEasing = Easing.OutQuint;
|
versionFlow.AutoSizeEasing = Easing.OutQuint;
|
||||||
|
|
||||||
starRatingDisplay.FadeIn(300, Easing.InQuint);
|
starRatingDisplay.FadeIn(300, Easing.InQuint);
|
||||||
};
|
};
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private class MetadataLineLabel : OsuSpriteText
|
private class MetadataLineLabel : OsuSpriteText
|
||||||
|
Reference in New Issue
Block a user