Mac: Turn off momentum-based scrolling.
This commit is contained in:
parent
4e681a4151
commit
23c6df8eae
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@ Cocoa_RegisterApp(void)
|
||||||
CreateApplicationMenus();
|
CreateApplicationMenus();
|
||||||
}
|
}
|
||||||
[NSApp finishLaunching];
|
[NSApp finishLaunching];
|
||||||
|
NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"NO" forKey:@"AppleMomentumScrollSupported"];
|
||||||
|
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
||||||
|
|
||||||
}
|
}
|
||||||
if (NSApp && ![NSApp delegate]) {
|
if (NSApp && ![NSApp delegate]) {
|
||||||
[NSApp setDelegate:[[SDLAppDelegate alloc] init]];
|
[NSApp setDelegate:[[SDLAppDelegate alloc] init]];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue