From edc1761c6e7b1a840bfe61fdf5d36ad74af4482b Mon Sep 17 00:00:00 2001 From: binbitten Date: Sat, 20 Jan 2018 22:10:03 +0100 Subject: [PATCH] Fix horizontal scroll for windows platform --- platform/windows/os_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index ede0840159..abb33b4c4f 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -589,7 +589,7 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) mb.y = old_y; } - if (uMsg != WM_MOUSEWHEEL) { + if (uMsg != WM_MOUSEWHEEL && uMsg != WM_MOUSEHWHEEL) { if (mb.pressed) { if (++pressrc > 0)