Browse Source
fix(X11): CS0472 The result of the expression is always 'false' (#13510)
UnsafeAsSpan-logical-children
workgroupengineering
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Avalonia.X11/Screens/X11Screens.Scaling.cs
|
|
|
@ -197,7 +197,7 @@ internal partial class X11Screens |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (globalFactorString == null && screenFactorsString == null && usePhysicalDpi == null) |
|
|
|
if (globalFactorString == null && screenFactorsString == null) |
|
|
|
return null; |
|
|
|
|
|
|
|
return (userConfig, globalFactor ?? 1, usePhysicalDpi); |
|
|
|
@ -246,4 +246,4 @@ internal partial class X11Screens |
|
|
|
|
|
|
|
return provider; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|