From b14d884a0ae6a7a2d44238984a49d8a1af580a93 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 12 Jun 2008 19:06:30 +0000 Subject: [PATCH] (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(-) diff --git a/src/window.cpp b/src/window.cpp index 9ac86b2e72..c33b48f06f 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(); }