forked from mirror/OpenTTD
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
This commit is contained in:
@@ -1809,7 +1809,6 @@ void MouseLoop(MouseClick click, int mousewheel)
|
|||||||
DecreaseWindowCounters();
|
DecreaseWindowCounters();
|
||||||
HandlePlacePresize();
|
HandlePlacePresize();
|
||||||
UpdateTileSelection();
|
UpdateTileSelection();
|
||||||
HandleKeyScrolling();
|
|
||||||
|
|
||||||
if (!VpHandlePlaceSizingDrag()) return;
|
if (!VpHandlePlaceSizingDrag()) return;
|
||||||
if (!HandleDragDrop()) return;
|
if (!HandleDragDrop()) return;
|
||||||
@@ -1949,6 +1948,7 @@ void HandleMouseEvents()
|
|||||||
*/
|
*/
|
||||||
void InputLoop()
|
void InputLoop()
|
||||||
{
|
{
|
||||||
|
HandleKeyScrolling();
|
||||||
HandleMouseEvents();
|
HandleMouseEvents();
|
||||||
HandleAutoscroll();
|
HandleAutoscroll();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user