Add support for framework-level mouse confining.

This commit is contained in:
Dean Herbert
2017-05-02 17:45:42 +09:00
parent bef15fe637
commit 1b0f353af3
5 changed files with 14 additions and 25 deletions

View File

@ -29,7 +29,7 @@ namespace osu.Desktop.VisualTests
host.DrawThread.InactiveHz = host.DrawThread.ActiveHz;
host.InputThread.InactiveHz = host.InputThread.ActiveHz;
host.Window.CursorState = CursorState.Hidden;
host.Window.CursorState |= CursorState.Hidden;
}
}
}