Pārlūkot izejas kodu

[OSX] use sensible initial window size values

Dan Walmsley 6 gadi atpakaļ
vecāks
revīzija
1f9ab92359
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      native/Avalonia.Native/src/OSX/window.mm

+ 2 - 2
native/Avalonia.Native/src/OSX/window.mm

@@ -771,8 +771,8 @@ NSArray* AllLoopModes = [NSArray arrayWithObjects: NSDefaultRunLoopMode, NSEvent
     [self setWantsLayer:YES];
     _parent = parent;
     _area = nullptr;
-    _lastPixelSize.Height = 0;
-    _lastPixelSize.Width = 0;
+    _lastPixelSize.Height = 100;
+    _lastPixelSize.Width = 100;
     return self;
 }