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

workaround for maximize window restore not working.

Dan Walmsley 7 жил өмнө
parent
commit
1d3c9ccde7

+ 3 - 0
src/Avalonia.Native.OSX/window.mm

@@ -963,6 +963,9 @@ private:
         {
             switch (state) {
                 case Maximized:
+                    lastPositionSet.X = 0;
+                    lastPositionSet.Y = 0;
+                    
                     if([Window isMiniaturized])
                     {
                         [Window deminiaturize:Window];