diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp index 0212b68f..949f3219 100644 --- a/profiler/src/BackendWayland.cpp +++ b/profiler/src/BackendWayland.cpp @@ -338,8 +338,8 @@ static void PointerFrame( void*, struct wl_pointer* pointer ) if( s_wheel ) { s_wheel = false; - s_wheelAxisX /= 8; - s_wheelAxisY /= 8; + s_wheelAxisX /= 15; + s_wheelAxisY /= 15; ImGuiIO& io = ImGui::GetIO(); io.AddMouseWheelEvent( wl_fixed_to_double( s_wheelAxisX ), wl_fixed_to_double( s_wheelAxisY ) ); s_wheelAxisX = s_wheelAxisY = 0; diff --git a/profiler/src/profiler/TracyView_Timeline.cpp b/profiler/src/profiler/TracyView_Timeline.cpp index 803fcb69..c3dc01b0 100644 --- a/profiler/src/profiler/TracyView_Timeline.cpp +++ b/profiler/src/profiler/TracyView_Timeline.cpp @@ -145,6 +145,7 @@ void View::HandleTimelineMouse( int64_t timespan, const ImVec2& wpos, float w ) else if( io.KeyShift ) mod = 0.5; mod *= m_verticalScrollMultiplier; + mod *= fabs( wheel ); if( wheel > 0 ) {