Window Size

* Preserve window size when swapping Fluent and Simple themes.
* Simplify test batch files.
* Trim output.
* Different output type depending on the configuration.
This commit is contained in:
Joseph Moreno
2023-02-10 13:11:58 -05:00
parent cd2a9d72aa
commit dcc47c332f
9 changed files with 49 additions and 20 deletions

View File

@ -18,10 +18,9 @@ namespace AvaloniaCoreRTDemo.Controls
this.DataContext = new MainControlViewModel();
}
public void Reload(IMainWindowState? model)
public void Reload(IMainWindowState model)
{
if (model is not null)
this.DataContext = new MainControlViewModel(model);
this.DataContext = new MainControlViewModel(model);
}
}
}