mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 09:29:10 +00:00
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
This commit is contained in:
@@ -143,7 +143,9 @@ public:
|
||||
|
||||
virtual void OnMouseWheel(int wheel)
|
||||
{
|
||||
ZoomInOrOutToCursorWindow(wheel < 0, this);
|
||||
if (_settings_client.gui.scrollwheel_scrolling == 0) {
|
||||
ZoomInOrOutToCursorWindow(wheel < 0, this);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void OnInvalidateData(int data = 0)
|
||||
|
Reference in New Issue
Block a user