Skip to content

Commit

Permalink
Merge branch 'castano-ic-mousewheel-mouseupdate'
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed May 11, 2023
2 parents b9b4294 + 9a29c59 commit 2ae3815
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sokol_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -7242,11 +7242,9 @@ _SOKOL_PRIVATE LRESULT CALLBACK _sapp_win32_wndproc(HWND hWnd, UINT uMsg, WPARAM
}
break;
case WM_MOUSEWHEEL:
_sapp_win32_mouse_update(lParam);
_sapp_win32_scroll_event(0.0f, (float)((SHORT)HIWORD(wParam)));
break;
case WM_MOUSEHWHEEL:
_sapp_win32_mouse_update(lParam);
_sapp_win32_scroll_event((float)((SHORT)HIWORD(wParam)), 0.0f);
break;
case WM_CHAR:
Expand Down

0 comments on commit 2ae3815

Please sign in to comment.