Skip to content

Commit

Permalink
Fix visual flicker on form load
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Aug 5, 2024
1 parent 85d70cb commit ff0d9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NAPS2.Lib/EtoForms/Layout/LayoutController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void Bind(Window window)
if (_window != null) throw new InvalidOperationException();
_window = window;
window.Content = _layout;
window.Shown += (_, _) =>
window.LoadComplete += (_, _) =>
{
_isShown = true;
DoLayout();
Expand Down

0 comments on commit ff0d9e9

Please sign in to comment.