mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-05-18 23:50:16 +00:00
Fix broken horizontal scroll inversion
This commit is contained in:
@@ -193,7 +193,7 @@ void SdlInputHandler::handleMouseWheelEvent(SDL_MouseWheelEvent* event)
|
||||
if (event->preciseX != 0.0f) {
|
||||
// Invert the scroll direction if needed
|
||||
if (m_ReverseScrollDirection) {
|
||||
event->preciseX = -event->preciseY;
|
||||
event->preciseX = -event->preciseX;
|
||||
}
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
|
||||
Reference in New Issue
Block a user