mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Update osu.Game/Overlays/Settings/Sections/Input/MouseSettings.cs
Set mouse confine mode at initialization Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
2469608c10
commit
f4eb17d398
@ -68,7 +68,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
};
|
||||
|
||||
windowMode = config.GetBindable<WindowMode>(FrameworkSetting.WindowMode);
|
||||
windowMode.BindValueChanged(mode => confineMouseModeSetting.Alpha = mode.NewValue == WindowMode.Fullscreen ? 0 : 1);
|
||||
windowMode.BindValueChanged(mode => confineMouseModeSetting.Alpha = mode.NewValue == WindowMode.Fullscreen ? 0 : 1, true);
|
||||
|
||||
if (RuntimeInfo.OS != RuntimeInfo.Platform.Windows)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user