mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 14:26:01 +00:00
Mac: Turn off momentum-based scrolling.
This commit is contained in:
@@ -231,6 +231,9 @@ Cocoa_RegisterApp(void)
|
||||
CreateApplicationMenus();
|
||||
}
|
||||
[NSApp finishLaunching];
|
||||
NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"NO" forKey:@"AppleMomentumScrollSupported"];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
||||
|
||||
}
|
||||
if (NSApp && ![NSApp delegate]) {
|
||||
[NSApp setDelegate:[[SDLAppDelegate alloc] init]];
|
||||
|
Reference in New Issue
Block a user