We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad39298 commit d67081cCopy full SHA for d67081c
SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.cpp
@@ -94,6 +94,12 @@ ConsoleSettingsPanel::ConsoleSettingsPanel(const ConsoleSettings_Descriptor& des
94
, settings(ConsoleSettings::instance())
95
{
96
PA_ADD_OPTION(settings);
97
+
98
+ settings.CONTROLLER_SETTINGS.set_visibility(
99
+ settings.CONTROLLER_SETTINGS.current_rows() > 0
100
+ ? ConfigOptionState::ENABLED
101
+ : ConfigOptionState::HIDDEN
102
+ );
103
}
104
105
0 commit comments