mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 12:21:39 +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
|
// remember value
|
||||||
s_oldValue = config->Value;
|
s_oldValue = config->Value;
|
||||||
|
|
||||||
if (config->LockCallback)
|
// if (config->LockCallback)
|
||||||
config->LockCallback(config);
|
// config->LockCallback(config);
|
||||||
|
|
||||||
Game_PlaySound("sys_worldmap_decide");
|
Game_PlaySound("sys_worldmap_decide");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -753,9 +753,9 @@ void Config::CreateCallbacks()
|
||||||
{
|
{
|
||||||
Config::WindowSize.LockCallback = [](ConfigDef<int32_t>* def)
|
Config::WindowSize.LockCallback = [](ConfigDef<int32_t>* def)
|
||||||
{
|
{
|
||||||
// // Try matching the current window size with a known configuration.
|
// Try matching the current window size with a known configuration.
|
||||||
// if (def->Value < 0)
|
if (def->Value < 0)
|
||||||
// def->Value = GameWindow::FindNearestDisplayMode();
|
def->Value = GameWindow::FindNearestDisplayMode();
|
||||||
};
|
};
|
||||||
|
|
||||||
Config::WindowSize.ApplyCallback = [](ConfigDef<int32_t>* def)
|
Config::WindowSize.ApplyCallback = [](ConfigDef<int32_t>* def)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue