Browse Source
Merge pull request #1714 from RayyanTahir/1704-windowstartuplocation
WindowStartupLocation Fix
pull/1718/head
Jumar Macato
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Window.cs
|
|
|
@ -373,7 +373,6 @@ namespace Avalonia.Controls |
|
|
|
AddWindow(this); |
|
|
|
|
|
|
|
EnsureInitialized(); |
|
|
|
SetWindowStartupLocation(); |
|
|
|
IsVisible = true; |
|
|
|
LayoutManager.Instance.ExecuteInitialLayoutPass(this); |
|
|
|
|
|
|
|
@ -382,6 +381,7 @@ namespace Avalonia.Controls |
|
|
|
PlatformImpl?.Show(); |
|
|
|
Renderer?.Start(); |
|
|
|
} |
|
|
|
SetWindowStartupLocation(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|