Add horizontal scroll support to SongEditor

Closes #2275
This commit is contained in:
Tres Finocchiaro
2015-08-21 21:23:03 -04:00
parent cfbd53fb50
commit c68f31aeda

View File

@@ -382,7 +382,7 @@ void SongEditor::wheelEvent( QWheelEvent * _we )
// and make sure, all TCO's are resized and relocated
realignTracks();
}
else if( gui->mainWindow()->isShiftPressed() == true )
else if( gui->mainWindow()->isShiftPressed() == true || _we->orientation() == Qt::Horizontal )
{
m_leftRightScroll->setValue( m_leftRightScroll->value() -
_we->delta() / 30 );