Bail if FrameworkSetting.ConfineMouseMode is unavailable

This commit is contained in:
Shane Woolcock
2020-10-07 16:02:35 +10:30
parent 8847b88e65
commit c8c5998af4

View File

@ -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: