Browse Source

Merge branch 'master' into features/DevTools/Startup_Screen

pull/6074/head
Giuseppe Lippolis 5 years ago
parent
commit
4b3c9b77ca
  1. 2
      src/Avalonia.Controls/Remote/RemoteWidget.cs

2
src/Avalonia.Controls/Remote/RemoteWidget.cs

@ -70,7 +70,7 @@ namespace Avalonia.Controls.Remote
public override void Render(DrawingContext context)
{
if (_lastFrame != null)
if (_lastFrame != null && _lastFrame.Width != 0 && _lastFrame.Height != 0)
{
var fmt = (PixelFormat) _lastFrame.Format;
if (_bitmap == null || _bitmap.PixelSize.Width != _lastFrame.Width ||

Loading…
Cancel
Save