Add configuration option for McwsTestEnvironment

This commit is contained in:
John Lewin 2018-10-31 14:06:39 -07:00
parent f51ac64d79
commit cde6e42923
4 changed files with 12 additions and 3 deletions

View file

@ -87,6 +87,8 @@ namespace MatterHackers.MatterControl
MatterHackers.MatterControl.AppContext.Platform = AggContext.CreateInstanceFrom<INativePlatformFeatures>(platformFeaturesProvider);
MatterHackers.MatterControl.AppContext.Platform.ProcessCommandline();
config.Bind("MatterControl", MatterHackers.MatterControl.AppContext.Options);
// Get startup bounds from MatterControl and construct system window
//var systemWindow = new DesktopMainWindow(400, 200)
var (width, height) = RootSystemWindow.GetStartupBounds();