mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Remove unnecessary fading
This commit is contained in:
parent
bff5ad22f4
commit
d624157c45
@ -86,11 +86,7 @@ namespace osu.Game.Screens.Play
|
|||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
if (replayAvailability == ReplayAvailability.NotAvailable)
|
button.Enabled.Value = replayAvailability != ReplayAvailability.NotAvailable;
|
||||||
{
|
|
||||||
button.Enabled.Value = false;
|
|
||||||
button.Alpha = 0.6f;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum ReplayAvailability
|
private enum ReplayAvailability
|
||||||
|
Loading…
Reference in New Issue
Block a user