diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-06 17:15:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-06 17:15:21 +0300 |
commit | 79f974b751c26b55353d7cea7659dba691870ce7 (patch) | |
tree | cc3dec3c3b413d070363d6c5cc10267c0220d1d3 | |
parent | 5a3e68f8de3479c468b7683373b2c0d70344b9f8 (diff) | |
download | plus-79f974b751c26b55353d7cea7659dba691870ce7.tar.gz plus-79f974b751c26b55353d7cea7659dba691870ce7.tar.bz2 plus-79f974b751c26b55353d7cea7659dba691870ce7.tar.xz plus-79f974b751c26b55353d7cea7659dba691870ce7.zip |
Disable lazy scrolling by default.
-rw-r--r-- | src/configmanager.cpp | 4 | ||||
-rw-r--r-- | src/defaults.cpp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 893a7f12b..44bf58a88 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -319,6 +319,8 @@ void ConfigManager::checkConfigVersion() config.deleteKey("videodetected"); config.setValue("moveToTargetType", 10); } + if (version < 10) + config.setValue("enableLazyScrolling", false); - config.setValue("cfgver", 9); + config.setValue("cfgver", 10); } diff --git a/src/defaults.cpp b/src/defaults.cpp index 4b14192ff..edfd8c45d 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -249,7 +249,7 @@ DefaultsData* getConfigDefaults() AddDEF("enableReorderSprites", true); AddDEF("showip", false); AddDEF("seflMouseHeal", true); - AddDEF("enableLazyScrolling", true); + AddDEF("enableLazyScrolling", false); AddDEF("extMouseTargeting", true); AddDEF("showMVP", false); AddDEF("pvpAttackType", 0); @@ -352,7 +352,7 @@ DefaultsData* getConfigDefaults() AddDEF("uselonglivesprites", false); AddDEF("uselonglivesounds", true); AddDEF("screenDensity", 0); - AddDEF("cfgver", 9); + AddDEF("cfgver", 10); AddDEF("enableDebugLog", false); AddDEF("doubleClick", true); AddDEF("useDiagonalSpeed", true); |