1
0
Fork 0

Merge pull request #15905 from binbitten/fix-capture-win

Fix horizontal scroll for windows platform
This commit is contained in:
Rémi Verschelde 2018-01-20 21:41:21 +01:00 committed by GitHub
commit 8f8b032eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)