Merge pull request #877 from Azaezel/alpha401/borderlessFix

from @oth_mars - fix borderless value lookup
This commit is contained in:
Brian Roberts 2022-08-31 17:12:59 -05:00 committed by GitHub
commit fae7b357c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -434,7 +434,7 @@ function populateDisplaySettingsList()
if(%mode !$= "Borderless")
{
%resolutionList = getScreenResolutionList($pref::Video::deviceId, $pref::Video::deviceMode);
%resolutionList = getScreenResolutionList($pref::Video::deviceId, $Video::Mode[%mode]);
%resolution = OptionsMenu.getOptionVariableValue("$pref::Video::Resolution");
if(%resolution $= "")
%resolution = $pref::Video::mode;