1
0
Эх сурвалжийг харах

[OSX] use sensible initial window size values

Dan Walmsley 6 жил өмнө
parent
commit
1f9ab92359

+ 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;
 }