1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08:00

Remove unnecessary virtual specs

This commit is contained in:
Bartłomiej Dach 2021-11-10 12:00:36 +01:00
parent 577bdade5b
commit 6d04823b05
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Catch.Mods
MaxValue = 50, MaxValue = 50,
}; };
public virtual void Update(Playfield playfield) public void Update(Playfield playfield)
{ {
var catchPlayfield = (CatchPlayfield)playfield; var catchPlayfield = (CatchPlayfield)playfield;
bool shouldAlwaysShowCatcher = IsBreakTime.Value; bool shouldAlwaysShowCatcher = IsBreakTime.Value;

View File

@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Osu.Mods
spinnerPeriods = new PeriodTracker(beatmap.HitObjects.OfType<Spinner>().Select(b => new Period(b.StartTime - TRANSITION_DURATION, b.EndTime))); spinnerPeriods = new PeriodTracker(beatmap.HitObjects.OfType<Spinner>().Select(b => new Period(b.StartTime - TRANSITION_DURATION, b.EndTime)));
} }
public virtual void Update(Playfield playfield) public void Update(Playfield playfield)
{ {
bool shouldAlwaysShowCursor = IsBreakTime.Value || spinnerPeriods.IsInAny(playfield.Clock.CurrentTime); bool shouldAlwaysShowCursor = IsBreakTime.Value || spinnerPeriods.IsInAny(playfield.Clock.CurrentTime);
float targetAlpha = shouldAlwaysShowCursor ? 1 : ComboBasedAlpha; float targetAlpha = shouldAlwaysShowCursor ? 1 : ComboBasedAlpha;