1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 06:47:19 +08:00

Merge pull request #569 from peppy/general-fixes

General fixes
This commit is contained in:
Dan Balasescu 2017-03-29 12:44:49 +09:00 committed by GitHub
commit cd799823f0
4 changed files with 13 additions and 3 deletions

@ -1 +1 @@
Subproject commit fee17db53738938cc3ab8589ef1ff1dc7fd82d8a
Subproject commit 4d131fd0d997bee313de3fa33a45900637570ff0

@ -1 +1 @@
Subproject commit e67453159540f5008b5efadfbc12dfb3f4bee1f7
Subproject commit 12bbab717d372dadbd3220d38da862276ac97e98

View File

@ -24,6 +24,11 @@ namespace osu.Desktop.VisualTests
public override void SetHost(GameHost host)
{
base.SetHost(host);
host.UpdateThread.InactiveHz = host.UpdateThread.ActiveHz;
host.DrawThread.InactiveHz = host.DrawThread.ActiveHz;
host.InputThread.InactiveHz = host.InputThread.ActiveHz;
host.Window.CursorState = CursorState.Hidden;
}
}

View File

@ -29,7 +29,12 @@ namespace osu.Game.Screens.Select.Leaderboards
Children = new Drawable[]
{
rankSprite = new Sprite { FillMode = FillMode.Fill },
rankSprite = new Sprite
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
FillMode = FillMode.Fit
},
};
}
}