From 2acca350fe9ecbb5158463a437403f0ffc642d16 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Thu, 10 Apr 2025 18:20:55 +0300 Subject: [PATCH] Fix tooltip not appearing anymore after scripts compilation --- Source/Engine/UI/GUI/Control.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Engine/UI/GUI/Control.cs b/Source/Engine/UI/GUI/Control.cs index 3ef604323..c96ee0643 100644 --- a/Source/Engine/UI/GUI/Control.cs +++ b/Source/Engine/UI/GUI/Control.cs @@ -1082,6 +1082,11 @@ namespace FlaxEngine.GUI [NoAnimate] public void UnlinkTooltip() { + if (_tooltipUpdate != null) + { + SetUpdate(ref _tooltipUpdate, null); + Tooltip?.OnMouseLeaveControl(this); + } _tooltipText = null; _tooltip = null; }