Clean up comments.

This commit is contained in:
Chandler Cox
2023-09-24 15:15:53 -05:00
parent 87ef35cd4f
commit cb89daad36

View File

@@ -196,7 +196,6 @@ namespace FlaxEngine.GUI
/// <inheritdoc />
public override void Update(float deltaTime)
{
// Auto hide if mouse leaves control area
var mousePos = Input.MouseScreenPosition;
// Calculate popup direction
@@ -219,8 +218,10 @@ namespace FlaxEngine.GUI
locationSS.X -= dpiSize.X + 20;
}
// Move window with mouse location
_window.Position = locationSS + new Float2(15, 10);
// Auto hide if mouse leaves control area
var location = _showTarget.PointFromScreen(mousePos);
if (!_showTarget.OnTestTooltipOverControl(ref location))
{