mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Don't use nameof(MouseHandler)
This commit is contained in:
@ -76,10 +76,9 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
|||||||
{
|
{
|
||||||
// this is temporary until we support per-handler settings.
|
// this is temporary until we support per-handler settings.
|
||||||
const string raw_mouse_handler = @"OsuTKRawMouseHandler";
|
const string raw_mouse_handler = @"OsuTKRawMouseHandler";
|
||||||
const string osutk_standard_mouse_handler = @"OsuTKMouseHandler";
|
const string standard_mouse_handlers = @"OsuTKMouseHandler MouseHandler";
|
||||||
string standardMouseHandlers = $"{osutk_standard_mouse_handler} {nameof(MouseHandler)}";
|
|
||||||
|
|
||||||
ignoredInputHandlers.Value = enabled.NewValue ? standardMouseHandlers : raw_mouse_handler;
|
ignoredInputHandlers.Value = enabled.NewValue ? standard_mouse_handlers : raw_mouse_handler;
|
||||||
};
|
};
|
||||||
|
|
||||||
ignoredInputHandlers = config.GetBindable<string>(FrameworkSetting.IgnoredInputHandlers);
|
ignoredInputHandlers = config.GetBindable<string>(FrameworkSetting.IgnoredInputHandlers);
|
||||||
|
Reference in New Issue
Block a user