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