Remove custom tooltip timings (#19604)
This commit is contained in:
@@ -156,7 +156,6 @@ public sealed class ActionButton : Control
|
||||
OnUnpressed(args);
|
||||
};
|
||||
|
||||
TooltipDelay = 0.5f;
|
||||
TooltipSupplier = SupplyTooltip;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@ namespace Content.Client.UserInterface.Systems.Alerts.Controls
|
||||
{
|
||||
public sealed class AlertControl : BaseButton
|
||||
{
|
||||
// shorter than default tooltip delay so user can more easily
|
||||
// see what alerts they have
|
||||
private const float CustomTooltipDelay = 0.5f;
|
||||
|
||||
public AlertPrototype Alert { get; }
|
||||
|
||||
/// <summary>
|
||||
@@ -48,7 +44,6 @@ namespace Content.Client.UserInterface.Systems.Alerts.Controls
|
||||
public AlertControl(AlertPrototype alert, short? severity)
|
||||
{
|
||||
_gameTiming = IoCManager.Resolve<IGameTiming>();
|
||||
TooltipDelay = CustomTooltipDelay;
|
||||
TooltipSupplier = SupplyTooltip;
|
||||
Alert = alert;
|
||||
_severity = severity;
|
||||
|
||||
Reference in New Issue
Block a user