UI scaling for WebViewControl.

This commit is contained in:
Pieter-Jan Briers
2021-11-10 11:57:58 +01:00
parent 7f03e88e97
commit 5be3ced05a

View File

@@ -533,8 +533,7 @@ namespace Robust.Client.WebView.Cef
if (_control.Owner.Disposed)
return false;
// TODO CEF: Get actual scale factor?
screenInfo.DeviceScaleFactor = 1.0f;
screenInfo.DeviceScaleFactor = _control.Owner.UIScale;
return true;
}