diff options
author | binbitten <martinsjursen@gmail.com> | 2018-01-20 21:15:58 +0100 |
---|---|---|
committer | binbitten <martinsjursen@gmail.com> | 2018-01-20 21:15:58 +0100 |
commit | 017a8521c0e333240448182bd2aa6a6fb3cc5047 (patch) | |
tree | 853b18a255c51e95dce81ec9ffc9f79cc27f3c2c /platform/windows | |
parent | f5234e70be7dec4930c2d5a0e829ff480d044b1d (diff) |
Fix horizontal scroll for windows platform
Diffstat (limited to 'platform/windows')
-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) |