forked from mirror/OpenTTD
(svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
This commit is contained in:
@@ -575,6 +575,13 @@ static const char *_patches_ui[] = {
|
||||
"link_terraform_toolbar",
|
||||
"liveries",
|
||||
"prefer_teamchat",
|
||||
#if defined(__APPLE__)
|
||||
/* While the horizontal scrollwheel scrolling is written as general code, only
|
||||
* the cocoa (OSX) driver generates input for it.
|
||||
* Until some other driver will read this input, we will hide the GUI to control this from other systems. */
|
||||
"scrollwheel_scrolling",
|
||||
"scrollwheel_multiplier",
|
||||
#endif
|
||||
};
|
||||
|
||||
static const char *_patches_construction[] = {
|
||||
|
Reference in New Issue
Block a user