diff options
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r-- | plugingui/nativewindow_win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 0dc30de..12d430f 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -129,7 +129,7 @@ LRESULT CALLBACK NativeWindowWin32::dialogProc(HWND hwnd, UINT msg, scrollEvent->x = p.x; scrollEvent->y = p.y; - scrollEvent->delta = -1 * (short)HIWORD(wp) / 60; + scrollEvent->delta = -1 * (short)HIWORD(wp) / 60.0f; native->event_queue.push_back(scrollEvent); } break; |