Fix flashing tooltip.

This commit is contained in:
Jean-Baptiste Perrier
2020-12-21 17:25:10 +01:00
parent 8ac2d7069d
commit 39491663ee
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ namespace FlaxEngine.GUI
/// <inheritdoc />
public override Vector2 ScreenToClient(Vector2 location)
{
return _window.ScreenToClient(location);
return _window.ScreenToClient(location) / Platform.DpiScale;
}
/// <inheritdoc />