diff --git a/osu.Framework.iOS/IOSGameWindow.cs b/osu.Framework.iOS/IOSGameWindow.cs index c48f43b95a..93ae366aed 100644 --- a/osu.Framework.iOS/IOSGameWindow.cs +++ b/osu.Framework.iOS/IOSGameWindow.cs @@ -18,6 +18,9 @@ public IOSGameWindow() : base(GameView) public override void SetupWindow(FrameworkConfigManager config) { // TODO + + // for now, let's just say the cursor is always in the window. + CursorInWindow = true; } public override IGraphicsContext Context => GameView.GraphicsContext; diff --git a/osu.Framework/Platform/GameWindow.cs b/osu.Framework/Platform/GameWindow.cs index 66fd022dbe..ce4ecbfb74 100644 --- a/osu.Framework/Platform/GameWindow.cs +++ b/osu.Framework/Platform/GameWindow.cs @@ -52,7 +52,7 @@ public abstract class GameWindow : IGameWindow /// /// Whether the OS cursor is currently contained within the game window. /// - public bool CursorInWindow { get; private set; } + public bool CursorInWindow { get; protected set; } /// /// Available resolutions for full-screen display.