mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Remove redundant arguments
This commit is contained in:
@ -170,9 +170,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
popOutCount.FadeTo(0.75f);
|
||||
popOutCount.MoveTo(Vector2.Zero);
|
||||
|
||||
popOutCount.ScaleTo(1, pop_out_duration, pop_out_easing);
|
||||
popOutCount.FadeOut(pop_out_duration, pop_out_easing);
|
||||
popOutCount.MoveTo(displayedCountSpriteText.Position, pop_out_duration, pop_out_easing);
|
||||
popOutCount.ScaleTo(1, pop_out_duration);
|
||||
popOutCount.FadeOut(pop_out_duration);
|
||||
popOutCount.MoveTo(displayedCountSpriteText.Position, pop_out_duration);
|
||||
}
|
||||
|
||||
private void transformNoPopOut(int newValue)
|
||||
@ -186,7 +186,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
((IHasText)displayedCountSpriteText).Text = formatCount(newValue);
|
||||
displayedCountSpriteText.ScaleTo(1.1f);
|
||||
displayedCountSpriteText.ScaleTo(1, pop_out_duration, pop_out_easing);
|
||||
displayedCountSpriteText.ScaleTo(1, pop_out_duration);
|
||||
}
|
||||
|
||||
private void scheduledPopOutSmall(uint id)
|
||||
@ -261,7 +261,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
}
|
||||
|
||||
private void transformRoll(int currentValue, int newValue) =>
|
||||
this.TransformTo(nameof(DisplayedCount), newValue, getProportionalDuration(currentValue, newValue), Easing.None);
|
||||
this.TransformTo(nameof(DisplayedCount), newValue, getProportionalDuration(currentValue, newValue));
|
||||
|
||||
private string formatCount(int count) => $@"{count}x";
|
||||
|
||||
|
Reference in New Issue
Block a user