mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-26 17:11:21 +03:00
Fix visual flicker on form load
This commit is contained in:
parent
85d70cb4a7
commit
ff0d9e9822
@ -39,7 +39,7 @@ public class LayoutController
|
|||||||
if (_window != null) throw new InvalidOperationException();
|
if (_window != null) throw new InvalidOperationException();
|
||||||
_window = window;
|
_window = window;
|
||||||
window.Content = _layout;
|
window.Content = _layout;
|
||||||
window.Shown += (_, _) =>
|
window.LoadComplete += (_, _) =>
|
||||||
{
|
{
|
||||||
_isShown = true;
|
_isShown = true;
|
||||||
DoLayout();
|
DoLayout();
|
||||||
|
Loading…
Reference in New Issue
Block a user