Fixed mouse scroll value on Windows.

This commit is contained in:
Dario Manesku 2015-03-02 16:07:32 +01:00
parent 2d7b134b3b
commit 5453b2cf40

View file

@ -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;