summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2018-04-28 22:27:14 +0100
committerGitHub <noreply@github.com>2018-04-28 22:27:14 +0100
commitcfe6a8ea4fc38d58babcc6e7b67a9185ee66078c (patch)
tree866b6e14defd796b53551c1efe34a6c558a9699b /src/settings_gui.cpp
parent913119487fa58bb4346af8d0024f95b6517f4d46 (diff)
downloadopenttd-cfe6a8ea4fc38d58babcc6e7b67a9185ee66078c.tar.xz
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. (#6756)
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 0420ba15b..79bb71fb8 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -1508,9 +1508,8 @@ static SettingsContainer &GetSettingsTree()
SettingsPage *viewports = interface->Add(new SettingsPage(STR_CONFIG_SETTING_INTERFACE_VIEWPORTS));
{
viewports->Add(new SettingEntry("gui.auto_scrolling"));
- viewports->Add(new SettingEntry("gui.reverse_scroll"));
+ viewports->Add(new SettingEntry("gui.scroll_mode"));
viewports->Add(new SettingEntry("gui.smooth_scroll"));
- viewports->Add(new SettingEntry("gui.left_mouse_btn_scrolling"));
/* While the horizontal scrollwheel scrolling is written as general code, only
* the cocoa (OSX) driver generates input for it.
* Since it's also able to completely disable the scrollwheel will we display it on all platforms anyway */