|
|
@ -51,8 +51,6 @@ namespace Avalonia.Web.Blazor |
|
|
if (_currentSurface is { }) |
|
|
if (_currentSurface is { }) |
|
|
{ |
|
|
{ |
|
|
_currentSurface.Size = new PixelSize((int)size.Width, (int)size.Height); |
|
|
_currentSurface.Size = new PixelSize((int)size.Width, (int)size.Height); |
|
|
|
|
|
|
|
|
_currentSurface.IsDirty = true; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Resized?.Invoke(newSize, PlatformResizeReason.User); |
|
|
Resized?.Invoke(newSize, PlatformResizeReason.User); |
|
|
|