From 7dcc69e617ef3630f12371af5bf3d148928ca9b1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 12 Jun 2008 19:06:30 +0000 Subject: (svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse. --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 9ac86b2e7..c33b48f06 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1809,7 +1809,6 @@ void MouseLoop(MouseClick click, int mousewheel) DecreaseWindowCounters(); HandlePlacePresize(); UpdateTileSelection(); - HandleKeyScrolling(); if (!VpHandlePlaceSizingDrag()) return; if (!HandleDragDrop()) return; @@ -1949,6 +1948,7 @@ void HandleMouseEvents() */ void InputLoop() { + HandleKeyScrolling(); HandleMouseEvents(); HandleAutoscroll(); } -- cgit v1.2.3-54-g00ecf