Skip to content

Commit

Permalink
Fix macOS window class
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Aug 7, 2024
1 parent 2873f7f commit b237eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/Platform/MacOS/SDL3MacOSWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override void Create()
base.Create();

// replace [SDLView scrollWheel:(NSEvent *)] with our own version
IntPtr viewClass = Class.Get("SDLView");
IntPtr viewClass = Class.Get("SDL3View");
scrollWheelHandler = scrollWheel;
originalScrollWheel = Class.SwizzleMethod(viewClass, "scrollWheel:", "v@:@", scrollWheelHandler);
}
Expand Down

0 comments on commit b237eae

Please sign in to comment.