Fix visual flicker on form load

This commit is contained in:
Ben Olden-Cooligan 2024-08-05 11:04:23 -07:00
parent 85d70cb4a7
commit ff0d9e9822

View File

@ -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();