From 611b186a97d5b7c2505f15cf9dc51fd83365ab10 Mon Sep 17 00:00:00 2001 From: Vitor Kiguchi Date: Thu, 4 Feb 2021 14:19:41 -0300 Subject: [PATCH] configure_input: set modifier_scale undonditionally when restoring default --- src/citra_qt/configuration/configure_input.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/citra_qt/configuration/configure_input.cpp b/src/citra_qt/configuration/configure_input.cpp index 70307b0071..c1ce931d6d 100644 --- a/src/citra_qt/configuration/configure_input.cpp +++ b/src/citra_qt/configuration/configure_input.cpp @@ -375,9 +375,7 @@ void ConfigureInput::RestoreDefaults() { Config::default_analogs[analog_id][sub_button_id])}; SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]); } - if (analogs_param[analog_id].Get("modifier_scale", 0.5f) != 0.5f) { - analogs_param[analog_id].Set("modifier_scale", 0.5f); - } + analogs_param[analog_id].Set("modifier_scale", 0.5f); } UpdateButtonLabels();