mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix ed_showkeys with mousewheel
This commit is contained in:
parent
b6733a1827
commit
a4840cdfd3
|
@ -211,6 +211,7 @@ int CInput::Update()
|
|||
if(Event.wheel.y > 0) Key = KEY_MOUSE_WHEEL_UP; // ignore_convention
|
||||
if(Event.wheel.y < 0) Key = KEY_MOUSE_WHEEL_DOWN; // ignore_convention
|
||||
Action |= IInput::FLAG_RELEASE;
|
||||
Scancode = Key;
|
||||
break;
|
||||
|
||||
case SDL_WINDOWEVENT:
|
||||
|
|
Loading…
Reference in a new issue