Merge pull request #317 from Tom94/fix-login-button

Fix incorrect sizing of login button.
This commit is contained in:
Dean Herbert 2017-02-05 23:43:15 +09:00 committed by GitHub
commit fe86a9e431

View File

@ -17,8 +17,6 @@ namespace osu.Game.Overlays.Toolbar
public override bool Contains(Vector2 screenSpacePos) => true;
public override Vector2 Size => button.Size;
public ToolbarUserArea()
{
RelativeSizeAxes = Axes.Y;
@ -31,6 +29,7 @@ namespace osu.Game.Overlays.Toolbar
},
loginOverlay = new LoginOverlay
{
BypassAutoSizeAxes = Axes.Both,
Position = new Vector2(0, 1),
RelativePositionAxes = Axes.Y,
Anchor = Anchor.TopRight,