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
4 changed files with 13 additions and 3 deletions

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
},
};
}
}