mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Merge pull request #3388 from peppy/fix-logo-overhead
Fix osu! logo being present throughout the whole game
This commit is contained in:
commit
9a88e09eb0
@ -84,11 +84,10 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
private const double early_activation = 60;
|
private const double early_activation = 60;
|
||||||
|
|
||||||
|
public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks;
|
||||||
|
|
||||||
public OsuLogo()
|
public OsuLogo()
|
||||||
{
|
{
|
||||||
// Required to make Schedule calls run in OsuScreen even when we are not visible.
|
|
||||||
AlwaysPresent = true;
|
|
||||||
|
|
||||||
EarlyActivationMilliseconds = early_activation;
|
EarlyActivationMilliseconds = early_activation;
|
||||||
|
|
||||||
Size = new Vector2(default_size);
|
Size = new Vector2(default_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user