Przeglądaj źródła

Fixed bug where MOUSE_PRESS_RIGHT_BUTTON was never sent in windows.

Darryl Gough 13 lat temu
rodzic
commit
6b45df574a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gameplay/src/PlatformWin32.cpp

+ 1 - 1
gameplay/src/PlatformWin32.cpp

@@ -312,7 +312,7 @@ LRESULT CALLBACK __WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
         UpdateCapture(wParam);
         lx = GET_X_LPARAM(lParam);
         ly = GET_Y_LPARAM(lParam);
-        gameplay::Platform::mouseEventInternal(gameplay::Mouse::MOUSE_RELEASE_RIGHT_BUTTON, lx, ly, 0);
+        gameplay::Platform::mouseEventInternal(gameplay::Mouse::MOUSE_PRESS_RIGHT_BUTTON, lx, ly, 0);
         break;
 
     case WM_RBUTTONUP: