mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:43:22 +08:00
Bail if FrameworkSetting.ConfineMouseMode is unavailable
This commit is contained in:
parent
8847b88e65
commit
c8c5998af4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user