summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 13:48:56 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 13:48:56 +0100
commitc56bc78b5f5676784265dff8ed5334884e8dcc39 (patch)
tree271cfd30f932113ba800c102911bd9cad7f0f8af /src/gui/viewport.cpp
parentb9cacafcad8b515c1c65aee804a3ce08411b73c9 (diff)
downloadmana-c56bc78b5f5676784265dff8ed5334884e8dcc39.tar.gz
mana-c56bc78b5f5676784265dff8ed5334884e8dcc39.tar.bz2
mana-c56bc78b5f5676784265dff8ed5334884e8dcc39.tar.xz
mana-c56bc78b5f5676784265dff8ed5334884e8dcc39.zip
Tweaked some configuration defaults
Scrolling is now a bit less lazy and the scroll radius is 0. In my opinion this is a better default. Framerate limiter is now off by default, since it makes the game appear a bit choppy. It's basically only useful for laptops anyway, and not too hard to find.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 4b661ba3..40cc05d2 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -63,8 +63,8 @@ Viewport::Viewport():
setOpaque(false);
addMouseListener(this);
- mScrollLaziness = (int) config.getValue("ScrollLaziness", 32);
- mScrollRadius = (int) config.getValue("ScrollRadius", 32);
+ mScrollLaziness = (int) config.getValue("ScrollLaziness", 16);
+ mScrollRadius = (int) config.getValue("ScrollRadius", 0);
mScrollCenterOffsetX = (int) config.getValue("ScrollCenterOffsetX", 0);
mScrollCenterOffsetY = (int) config.getValue("ScrollCenterOffsetY", 0);