Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Jun 8, 2022
1 parent 653525e commit 087f85d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,11 @@ protected virtual void FluentWindow_Opened(object? sender, EventArgs e)
this.WhenAnyValue(x => x.ClientSize)
.Subscribe(x =>
{
vm.SizePosition.Width = x.Width;
vm.SizePosition.Height = x.Height;
if (this.WindowState == WindowState.Normal)
{
vm.SizePosition.Width = x.Width;
vm.SizePosition.Height = x.Height;
}
});
}
}
Expand Down

0 comments on commit 087f85d

Please sign in to comment.