diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp index cadc04eb..d375100f 100644 --- a/profiler/src/BackendWayland.cpp +++ b/profiler/src/BackendWayland.cpp @@ -103,11 +103,11 @@ static void PointerAxis( void*, struct wl_pointer* pointer, uint32_t time, uint3 s_wheel = true; if( axis == WL_POINTER_AXIS_HORIZONTAL_SCROLL ) { - s_wheelAxisX += value; + s_wheelAxisX -= value; } else { - s_wheelAxisY += value; + s_wheelAxisY -= value; } }