diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-20 21:41:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-20 21:41:21 +0100 |
commit | 8f8b032eede264f2958998ccd038e0c61abdf75e (patch) | |
tree | b241a1de003da46928b3e3db016f31cb36e859b1 | |
parent | 00387cbe1b05c6093baea76d6852af18842c0f65 (diff) | |
parent | 017a8521c0e333240448182bd2aa6a6fb3cc5047 (diff) |
Merge pull request #15905 from binbitten/fix-capture-win
Fix horizontal scroll for windows platform
-rw-r--r-- | platform/windows/os_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 5736ae1585..9e22e8aaac 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -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) |