From 2297ba3c866a551625212fd9a5c0eb0d78d76579 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Tue, 25 Oct 2022 16:38:23 -0500 Subject: [PATCH] moved where hiding the tooltip is called when starting to drag for better response --- Source/Engine/UI/GUI/Control.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Engine/UI/GUI/Control.cs b/Source/Engine/UI/GUI/Control.cs index 86c242609..890908c0e 100644 --- a/Source/Engine/UI/GUI/Control.cs +++ b/Source/Engine/UI/GUI/Control.cs @@ -948,10 +948,6 @@ namespace FlaxEngine.GUI { // Set flag _isDragOver = true; - - // Hide tooltip - Tooltip?.Hide(); - return DragDropEffect.None; } @@ -998,6 +994,8 @@ namespace FlaxEngine.GUI [NoAnimate] public virtual void DoDragDrop(DragData data) { + // Hide tooltip + Tooltip?.Hide(); Root.DoDragDrop(data); }