InputCommon: Eliminate some duplicated button threshold logic.
This commit is contained in:
1 parent
2e2540317e
commit
f07457b6cc
17 files changed
+50
-45
No files matched your search
@@ -35,7 +35,7 @@ void ModifySettingsButton::GetState()
|
||||
{
|
||||
for (size_t i = 0; i < controls.size(); ++i)
|
||||
{
|
||||
const bool state = controls[i]->control_ref->GetState<bool>();
|
||||
const bool state = controls[i]->GetState<bool>();
|
||||
|
||||
if (!associated_settings_toggle[i])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user