From 6e1b2333f3b0ac5e17cb0e4d92698e320e59da87 Mon Sep 17 00:00:00 2001 From: rob-v Date: Sat, 27 May 2017 11:37:13 +0200 Subject: [PATCH] Fix ClientTooltip disables tooltip delay --- OpenRA.Mods.Common/Widgets/Logic/Lobby/ClientTooltipLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/ClientTooltipLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/ClientTooltipLogic.cs index 7dfd1b83a9..8fdaf993db 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/ClientTooltipLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/ClientTooltipLogic.cs @@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic var margin = widget.Bounds.Width; - tooltipContainer.IsVisible = () => (orderManager.LobbyInfo.ClientWithIndex(clientIndex) != null); + widget.IsVisible = () => (orderManager.LobbyInfo.ClientWithIndex(clientIndex) != null); tooltipContainer.BeforeRender = () => { var latencyPrefixSize = latencyPrefix == null ? 0 : latencyPrefix.Bounds.X + latencyPrefixFont.Measure(latencyPrefix.GetText() + " ").X;