mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 23:10:04 +00:00
(svn r21982) -Add: Wheel scrolling to console.
This commit is contained in:
parent
82f260e15f
commit
e9e6444138
@ -342,6 +342,11 @@ struct IConsoleWindow : Window
|
||||
}
|
||||
return ES_HANDLED;
|
||||
}
|
||||
|
||||
virtual void OnMouseWheel(int wheel)
|
||||
{
|
||||
this->Scroll(-wheel);
|
||||
}
|
||||
};
|
||||
|
||||
int IConsoleWindow::scroll = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user