Explorar o código

Fix horizontal scroll for windows platform

binbitten %!s(int64=7) %!d(string=hai) anos
pai
achega
edc1761c6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      platform/windows/os_windows.cpp

+ 1 - 1
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)