1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 15:23:14 +08:00

Moved tooltip to the left to stop the overflow

This commit is contained in:
KyeKiller 2021-01-04 21:04:30 +00:00
parent 73f5e5aaf9
commit 3468df840b

View File

@ -2,12 +2,16 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Input.Bindings; using osu.Game.Input.Bindings;
namespace osu.Game.Overlays.Toolbar namespace osu.Game.Overlays.Toolbar
{ {
public class ToolbarSocialButton : ToolbarOverlayToggleButton public class ToolbarSocialButton : ToolbarOverlayToggleButton
{ {
protected override Anchor TooltipAnchor => Anchor.TopRight;
public ToolbarSocialButton() public ToolbarSocialButton()
{ {
Hotkey = GlobalAction.ToggleSocial; Hotkey = GlobalAction.ToggleSocial;