Skip to content

Commit

Permalink
puGL/win: fix y-axis scrollwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Feb 15, 2015
1 parent f265a7d commit cef908f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pugl/pugl_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
ScreenToClient(view->impl->hwnd, &pt);
view->scrollFunc(
view, pt.x, pt.y,
GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA, 0);
0, GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA);
}
break;
case WM_MOUSEHWHEEL:
Expand Down

0 comments on commit cef908f

Please sign in to comment.