mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
matrix is a struct so it cant be null
This commit is contained in:
@@ -558,13 +558,10 @@ namespace CefSharp.Wpf
|
||||
|
||||
private void CheckIsNonStandardDpi()
|
||||
{
|
||||
if (matrix != null) // make sure it's connected
|
||||
{
|
||||
dpiTransform = new ScaleTransform(
|
||||
1 / matrix.M11,
|
||||
1 / matrix.M22
|
||||
);
|
||||
}
|
||||
dpiTransform = new ScaleTransform(
|
||||
1 / matrix.M11,
|
||||
1 / matrix.M22
|
||||
);
|
||||
}
|
||||
|
||||
private void AddSourceHookIfNotAlreadyPresent()
|
||||
|
||||
Reference in New Issue
Block a user