Merge pull request #781 from Areloch/MiscFixes20220510

Misc Fixes for 2022/05/10
This commit is contained in:
Brian Roberts 2022-05-11 01:15:07 -05:00 committed by GitHub
commit 516163fd5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 59 additions and 127 deletions

View file

@ -334,6 +334,13 @@ function OptionsMenu::refresh(%this)
%command = %this.optionsCategories.getValue(%this.currentCategory);
eval(%command);
}
//now, because we reconstruct the displayed set, we'll force the mouse(if we're using it as our input)
//to be poked so we can re-track to whatever control, if any, we're over
if($activeControllerType !$= "gamepad")
{
Canvas.setCursorPos(Canvas.getCursorPos());
}
}
function OptionsMenu::getOptionVariableValue(%this, %variableName)