_final wayland fixes, tooltip move fixes
Some checks are pending
Build Android / Game (Android, Release ARM64) (push) Waiting to run
Build iOS / Game (iOS, Release ARM64) (push) Waiting to run
Build Linux / Editor (Linux, Development x64) (push) Waiting to run
Build Linux / Game (Linux, Release x64) (push) Waiting to run
Build macOS / Editor (Mac, Development ARM64) (push) Waiting to run
Build macOS / Game (Mac, Release ARM64) (push) Waiting to run
Build Windows / Editor (Windows, Development x64) (push) Waiting to run
Build Windows / Game (Windows, Release x64) (push) Waiting to run
Cooker / Cook (Mac) (push) Waiting to run
Tests / Tests (Linux) (push) Waiting to run
Tests / Tests (Windows) (push) Waiting to run

This commit is contained in:
2024-12-30 02:38:06 +02:00
parent 3190c22295
commit 003952dfec
3 changed files with 92 additions and 43 deletions

View File

@@ -226,10 +226,11 @@ namespace FlaxEngine.GUI
// Auto hide if mouse leaves control area
Hide();
}
else if (false)
else //if (false)
{
// Position tooltip when mouse moves
WrapPosition(ref mousePos, 10);
Editor.Log($"tooltip newpos: {Input.MouseScreenPosition}, in parentloc: {location}");
if (_window)
_window.Position = mousePos;
}