Fix horizontal scroll for windows platform

This commit is contained in:
binbitten 2018-01-20 21:15:58 +01:00
parent f5234e70be
commit 017a8521c0
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
mb->set_position(Vector2(old_x, old_y));
}
if (uMsg != WM_MOUSEWHEEL) {
if (uMsg != WM_MOUSEWHEEL && uMsg != WM_MOUSEHWHEEL) {
if (mb->is_pressed()) {
if (++pressrc > 0)