mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-13 07:10:57 +00:00
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
This commit is contained in:
parent
ecbf3bd0de
commit
b14d884a0a
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user