mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Bail if FrameworkSetting.ConfineMouseMode is unavailable
This commit is contained in:
@ -34,6 +34,10 @@ namespace osu.Game.Input
|
||||
|
||||
private void updateConfineMode()
|
||||
{
|
||||
// confine mode is unavailable on some platforms
|
||||
if (frameworkConfineMode.Disabled)
|
||||
return;
|
||||
|
||||
switch (osuConfineMode.Value)
|
||||
{
|
||||
case OsuConfineMouseMode.Never:
|
||||
|
Reference in New Issue
Block a user