Fix offset of music controller when toolbar is hidden

This commit is contained in:
Joehu
2019-03-27 20:27:26 -07:00
parent fc59e6dec5
commit bdb39a79a9
2 changed files with 8 additions and 1 deletions

View File

@ -441,7 +441,7 @@ namespace osu.Game
loadComponentSingleFile(musicController = new MusicController
{
Position = new Vector2(0, Toolbar.HEIGHT),
GetToolbarHeight = () => ToolbarOffset,
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
}, floatingOverlayContent.Add);