mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Fixed mouse scroll value on Windows.
This commit is contained in:
parent
2d7b134b3b
commit
5453b2cf40
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ namespace entry
|
|||
ScreenToClient(_hwnd, &pt);
|
||||
int32_t mx = pt.x;
|
||||
int32_t my = pt.y;
|
||||
m_mz += GET_WHEEL_DELTA_WPARAM(_wparam);
|
||||
m_mz += GET_WHEEL_DELTA_WPARAM(_wparam)/WHEEL_DELTA;
|
||||
m_eventQueue.postMouseEvent(findHandle(_hwnd), mx, my, m_mz);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue