1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 16:22:21 +08:00

Revert "Add tooltip to rounded button"

This reverts commit 3e4cd0aeac.
This commit is contained in:
OliBomby 2024-09-28 17:33:24 +02:00
parent 4568af8fda
commit 1912b1fcf3
2 changed files with 1 additions and 7 deletions

View File

@ -155,10 +155,6 @@ namespace osu.Game.Rulesets.Osu.Edit
Action = () => GridFromPointsClicked?.Invoke(),
RelativeSizeAxes = Axes.X,
Text = "Grid from points",
TooltipText = """
Left click to set the origin.
Click and drag to set the origin, rotation and spacing.
"""
},
gridTypeButtons = new EditorRadioButtonCollection
{

View File

@ -8,7 +8,6 @@ using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Input.Events;
using osu.Framework.Localisation;
using osu.Game.Graphics.Backgrounds;
@ -18,7 +17,7 @@ using osuTK.Graphics;
namespace osu.Game.Graphics.UserInterfaceV2
{
public partial class RoundedButton : OsuButton, IFilterable, IHasTooltip
public partial class RoundedButton : OsuButton, IFilterable
{
protected TrianglesV2? Triangles { get; private set; }
@ -108,6 +107,5 @@ namespace osu.Game.Graphics.UserInterfaceV2
}
public bool FilteringActive { get; set; }
public LocalisableString TooltipText { get; set; }
}
}