From 3373afcc83ab3599d99c026f3ec74e3ce46c0de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Mocquillon?= Date: Sat, 24 Jul 2021 17:42:04 +0200 Subject: [PATCH] [Settings] Set values --- docs/source/reference/modding/settings/map.rst | 11 +++++++++++ files/settings-default.cfg | 3 +++ 2 files changed, 14 insertions(+) diff --git a/docs/source/reference/modding/settings/map.rst b/docs/source/reference/modding/settings/map.rst index ac989f3dea..b0e30789ac 100644 --- a/docs/source/reference/modding/settings/map.rst +++ b/docs/source/reference/modding/settings/map.rst @@ -103,3 +103,14 @@ and typically require more panning to see all available portions of the map. This larger size also enables an overall greater level of detail if the local map resolution setting is also increased. This setting can not be configured except by editing the settings configuration file. + +allow zooming +------------- + +:Type: boolean +:Range: True/False +:Default: False + +If this setting is true the user can zoom in/out on local and global map with the mouse wheel. + +This setting can be controlled in Advanced tab of the launcher. diff --git a/files/settings-default.cfg b/files/settings-default.cfg index e7439fb5ae..c3c22c061c 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -199,6 +199,9 @@ local map widget size = 512 # If true, map in world mode, otherwise in local mode global = false +# If true, allow zoom on local and global maps +allow zooming = false + [GUI] # Scales GUI window and widget size. (<1.0 is smaller, >1.0 is larger).