mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 22:22:55 +08:00
Fix toolbar music button tooltip overflowing off-screen
This commit is contained in:
parent
d574cac702
commit
f9c369b23c
@ -2,6 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Input.Bindings;
|
||||
|
||||
@ -9,6 +10,8 @@ namespace osu.Game.Overlays.Toolbar
|
||||
{
|
||||
public class ToolbarMusicButton : ToolbarOverlayToggleButton
|
||||
{
|
||||
protected override Anchor TooltipAnchor => Anchor.TopRight;
|
||||
|
||||
public ToolbarMusicButton()
|
||||
{
|
||||
Icon = FontAwesome.Solid.Music;
|
||||
|
Loading…
Reference in New Issue
Block a user