Clean up comments.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user