I took out to irrevelant code thinking that an experienced programmer would realize it. I guess I was wrong.
class CViewport : public Viewport
{
mouseWheelMove( const MouseEvent &e, const MouseWheelDetails &details ) ;
};
//Implementation
void CViewPort::mouseWheelMove( const MouseEvent &e, const MouseWheelDetails &details )
{
//Irrevelant code but here it is
MouseWheelDetails newDetails = details;
if ( e.mods.isAltDown() && newDetails.deltaX == 0 )
{
newDetails.deltaX = newDetails.deltaY;
newDetails.deltaY = 0;
}
Viewport::mouseWheelMove( e, details ); return;
}
This code works with isShiftKeyDown() instead of isAltDown()
And I posted it twice because the first reply did not show up on the forum software 15 minutes later when I checked. This has hapenned to me several times.