Fix broken horizontal scroll inversion

This commit is contained in:
Cameron Gutman
2026-05-16 15:45:13 -05:00
parent 87c3179f77
commit bba2faa602
+1 -1
View File
@@ -193,7 +193,7 @@ void SdlInputHandler::handleMouseWheelEvent(SDL_MouseWheelEvent* event)
if (event->preciseX != 0.0f) { if (event->preciseX != 0.0f) {
// Invert the scroll direction if needed // Invert the scroll direction if needed
if (m_ReverseScrollDirection) { if (m_ReverseScrollDirection) {
event->preciseX = -event->preciseY; event->preciseX = -event->preciseX;
} }
#ifdef Q_OS_DARWIN #ifdef Q_OS_DARWIN