Skip to content

Commit

Permalink
Removed workaround code
Browse files Browse the repository at this point in the history
  • Loading branch information
Susko3 committed Feb 19, 2025
1 parent f1c85f4 commit 9572536
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions osu.Framework.Android/AndroidGameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.

using System;
using osu.Framework.Bindables;
using osu.Framework.Platform;
using osu.Framework.Platform.SDL3;

Expand All @@ -22,10 +21,6 @@ public override void Create()
base.Create();

SafeAreaPadding.BindTo(AndroidGameActivity.Surface.SafeAreaPadding);

// Android SDL doesn't receive these events at start, so it never receives focus until it comes back from background
((BindableBool)CursorInWindow).Value = true;
Focused = true;
}
}
}

0 comments on commit 9572536

Please sign in to comment.