mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
options_menu: restrict XButtonHoming to title and world map
This commit is contained in:
parent
8bb3e4a595
commit
5b5272b17a
1 changed files with 1 additions and 2 deletions
|
|
@ -253,7 +253,6 @@ static void DrawContainer(ImVec2 min, ImVec2 max)
|
|||
auto& res = ImGui::GetIO().DisplaySize;
|
||||
auto drawList = ImGui::GetForegroundDrawList();
|
||||
|
||||
|
||||
double outerAlpha = ComputeMotion(CONTAINER_OUTER_TIME, CONTAINER_OUTER_DURATION);
|
||||
double innerAlpha = ComputeMotion(CONTAINER_INNER_TIME, CONTAINER_INNER_DURATION);
|
||||
double backgroundAlpha = ComputeMotion(CONTAINER_BACKGROUND_TIME, CONTAINER_BACKGROUND_DURATION);
|
||||
|
|
@ -854,7 +853,7 @@ static void DrawConfigOptions()
|
|||
case 1: // INPUT
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::CameraXInvert, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::CameraYInvert, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::XButtonHoming, !OptionsMenu::s_isPause, cmnReason); // TODO: make this editable in stages.
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::XButtonHoming, OptionsMenu::s_pauseMenuType == SWA::eMenuType_WorldMap, cmnReason); // TODO: make this editable in stages?
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::UnleashCancel, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::BackgroundInput, true);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue