From 1912b1fcf3b5743459ab2981a81c6260f3f22f52 Mon Sep 17 00:00:00 2001 From: OliBomby Date: Sat, 28 Sep 2024 17:33:24 +0200 Subject: [PATCH] Revert "Add tooltip to rounded button" This reverts commit 3e4cd0aeacf6b5c795261f5d2adae60624d4a003. --- osu.Game.Rulesets.Osu/Edit/OsuGridToolboxGroup.cs | 4 ---- osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/osu.Game.Rulesets.Osu/Edit/OsuGridToolboxGroup.cs b/osu.Game.Rulesets.Osu/Edit/OsuGridToolboxGroup.cs index a5771c595b..b08ecb0e61 100644 --- a/osu.Game.Rulesets.Osu/Edit/OsuGridToolboxGroup.cs +++ b/osu.Game.Rulesets.Osu/Edit/OsuGridToolboxGroup.cs @@ -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 { diff --git a/osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs b/osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs index a993867a93..6aded3fe32 100644 --- a/osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs +++ b/osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs @@ -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; } } }