Skip to content

Commit

Permalink
Allow WIM detection to work across all languages
Browse files Browse the repository at this point in the history
Related 33d44c9
  • Loading branch information
julianxhokaxhiu committed Feb 28, 2022
1 parent 883c091 commit 23d8708
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SeventhHeavenUI/Windows/ConfigureGLWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ public bool Init(string cfgSpec, string cfgFile)
}

// find the resolutions option
Iros._7th.Workshop.ConfigSettings.DropDown ResolutionDD = (Iros._7th.Workshop.ConfigSettings.DropDown)_spec.Settings.Find(item => { return item.Name == "Resolution"; });
Iros._7th.Workshop.ConfigSettings.DropDown ResolutionDD = (Iros._7th.Workshop.ConfigSettings.DropDown)_spec.Settings.Find(item => {
return item.DefaultValue == "window_size_x = 1280,window_size_y = 720";
});
// over ride it with OS reported suported resolutions
ResolutionDD.Options = DigitalResolutions;

Expand Down

0 comments on commit 23d8708

Please sign in to comment.