Merge branch 'enha-point-from-to-screen' of git://github.com/stefnotch/FlaxEngine into stefnotch-enha-point-from-to-screen

This commit is contained in:
Wojtek Figat
2020-12-29 23:13:21 +01:00
8 changed files with 20 additions and 20 deletions

View File

@@ -58,7 +58,7 @@ namespace FlaxEditor.Content
public override bool OnMouseDoubleClick(Vector2 location, MouseButton button)
{
return Item.OnMouseDoubleClick(Item.ScreenToClient(ClientToScreen(location)), button);
return Item.OnMouseDoubleClick(Item.PointFromScreen(PointToScreen(location)), button);
}
}