1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 22:23:22 +08:00

Update the method we use to reset input settings

This commit is contained in:
Dean Herbert 2021-03-12 18:44:10 +09:00
parent 3458dcc33a
commit 86164c027a

View File

@ -880,8 +880,7 @@ namespace osu.Game
switch (action)
{
case GlobalAction.ResetInputSettings:
frameworkConfig.GetBindable<string>(FrameworkSetting.IgnoredInputHandlers).SetDefault();
frameworkConfig.GetBindable<double>(FrameworkSetting.CursorSensitivity).SetDefault();
Host.ResetInputHandlers();
frameworkConfig.GetBindable<ConfineMouseMode>(FrameworkSetting.ConfineMouseMode).SetDefault();
return true;