mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-02-18 19:51:09 +00:00
test 3
This commit is contained in:
parent
f56d90018d
commit
9b73c8906a
2 changed files with 5 additions and 5 deletions
|
|
@ -825,8 +825,8 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
|||
// remember value
|
||||
s_oldValue = config->Value;
|
||||
|
||||
if (config->LockCallback)
|
||||
config->LockCallback(config);
|
||||
// if (config->LockCallback)
|
||||
// config->LockCallback(config);
|
||||
|
||||
Game_PlaySound("sys_worldmap_decide");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -753,9 +753,9 @@ void Config::CreateCallbacks()
|
|||
{
|
||||
Config::WindowSize.LockCallback = [](ConfigDef<int32_t>* def)
|
||||
{
|
||||
// // Try matching the current window size with a known configuration.
|
||||
// if (def->Value < 0)
|
||||
// def->Value = GameWindow::FindNearestDisplayMode();
|
||||
// Try matching the current window size with a known configuration.
|
||||
if (def->Value < 0)
|
||||
def->Value = GameWindow::FindNearestDisplayMode();
|
||||
};
|
||||
|
||||
Config::WindowSize.ApplyCallback = [](ConfigDef<int32_t>* def)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue