Browse Source
Merge pull request #7270 from Mikolaytis/FixWasmDpi
[WASM] Fix wrong DPI value
pull/7273/head
Nikita Tsukanov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Web/Avalonia.Web.Blazor/RazorViewTopLevelImpl.cs
|
|
|
@ -142,7 +142,7 @@ namespace Avalonia.Web.Blazor |
|
|
|
|
|
|
|
public Size ClientSize => _clientSize; |
|
|
|
public Size? FrameSize => null; |
|
|
|
public double RenderScaling => 1; |
|
|
|
public double RenderScaling => _currentSurface?.Scaling ?? 1; |
|
|
|
|
|
|
|
public IEnumerable<object> Surfaces => new object[] { _currentSurface! }; |
|
|
|
|
|
|
|
|