Fix a couple of new Resharper inspections

This commit is contained in:
Dean Herbert 2020-08-16 23:11:29 +09:00
parent 1c76e03fa8
commit 5d433c0b05

View File

@ -324,10 +324,9 @@ namespace osu.Game.Screens.Menu
bool impact = logo.Scale.X > 0.6f; bool impact = logo.Scale.X > 0.6f;
if (lastState == ButtonSystemState.Initial) logo.ScaleTo(0.5f, 200, Easing.In);
logo.ScaleTo(0.5f, 200, Easing.In);
logoTrackingContainer.StartTracking(logo, lastState == ButtonSystemState.EnteringMode ? 0 : 200, Easing.In); logoTrackingContainer.StartTracking(logo, 200, Easing.In);
logoDelayedAction?.Cancel(); logoDelayedAction?.Cancel();
logoDelayedAction = Scheduler.AddDelayed(() => logoDelayedAction = Scheduler.AddDelayed(() =>