diff --git a/common/view/wx_view_controls.cpp b/common/view/wx_view_controls.cpp index a3decefba4..fc6dec6427 100644 --- a/common/view/wx_view_controls.cpp +++ b/common/view/wx_view_controls.cpp @@ -159,6 +159,12 @@ void WX_VIEW_CONTROLS::onWheel( wxMouseEvent& aEvent ) m_lastTimestamp = aEvent.GetTimestamp(); #endif + // Fix issue caused by modern mice that feature horizontal scrolling by only handling + // vertical axis, otherwise horizontal scrolling events end up interpreted as vertical + // scroll events and confuse the user. + if( aEvent.GetWheelAxis() > 0 ) + return; + // mousewheelpan disabled: // wheel + ctrl -> horizontal scrolling; // wheel + shift -> vertical scrolling;