Fix UICanvas high DPI issues
This commit is contained in:
@@ -218,7 +218,7 @@ namespace FlaxEngine
|
||||
var camera = Camera.MainCamera;
|
||||
if (camera)
|
||||
{
|
||||
ray = camera.ConvertMouseToRay(location);
|
||||
ray = camera.ConvertMouseToRay(location * Platform.DpiScale);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user