haiku: Invert mouse wheel values to match what SDL expects.

Partially fixes Bugzilla #4442.
This commit is contained in:
Peter Kosyh
2019-11-11 21:59:39 -05:00
parent 3fedf47c35
commit 42a3b9b9f6

View File

@@ -261,7 +261,7 @@ private:
return;
}
win = GetSDLWindow(winID);
SDL_SendMouseWheel(win, 0, xTicks, yTicks, SDL_MOUSEWHEEL_NORMAL);
SDL_SendMouseWheel(win, 0, xTicks, -yTicks, SDL_MOUSEWHEEL_NORMAL);
}
void _HandleKey(BMessage *msg) {