mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
Fix a couple of new Resharper inspections
This commit is contained in:
parent
1c76e03fa8
commit
5d433c0b05
@ -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(() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user