mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-26 09:01:36 +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();
|
||||
_window = window;
|
||||
window.Content = _layout;
|
||||
window.Shown += (_, _) =>
|
||||
window.LoadComplete += (_, _) =>
|
||||
{
|
||||
_isShown = true;
|
||||
DoLayout();
|
||||
|
Loading…
Reference in New Issue
Block a user