Remove custom tooltip timings (#19604)

This commit is contained in:
metalgearsloth
2023-09-11 13:53:35 +10:00
committed by GitHub
parent 965de89362
commit 88dfc59038
8 changed files with 1 additions and 19 deletions

View File

@@ -13,7 +13,6 @@ public sealed class MenuButton : ContainerButton
[Dependency] private readonly IInputManager _inputManager = default!;
public const string StyleClassLabelTopButton = "topButtonLabel";
public const string StyleClassRedTopButton = "topButtonLabel";
private const float CustomTooltipDelay = 0.4f;
private static readonly Color ColorNormal = Color.FromHex("#7b7e9e");
private static readonly Color ColorRedNormal = Color.FromHex("#FEFEFE");
@@ -48,7 +47,6 @@ public sealed class MenuButton : ContainerButton
public MenuButton()
{
IoCManager.InjectDependencies(this);
TooltipDelay = CustomTooltipDelay;
_buttonIcon = new TextureRect()
{
TextureScale = new Vector2(0.5f, 0.5f),