Răsfoiți Sursa

Fix horizontal scroll for windows platform

binbitten 7 ani în urmă
părinte
comite
edc1761c6e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)