mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Mac: Turn off momentum-based scrolling.
This commit is contained in:
parent
37509cf3e3
commit
e231d5b450
@ -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]];
|
||||
|
Loading…
Reference in New Issue
Block a user