mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Merge pull request #317 from Tom94/fix-login-button
Fix incorrect sizing of login button.
This commit is contained in:
commit
fe86a9e431
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user