fix for underlying bug 1293 loop markers

initilized m_moveXoff when moving loop markers
This commit is contained in:
dave
2014-11-29 11:41:27 +00:00
parent 2dd511da7d
commit 05fd71190b

View File

@@ -294,6 +294,7 @@ void timeLine::mousePressEvent( QMouseEvent* event )
}
else if( event->button() == Qt::RightButton || event->button() == Qt::MiddleButton )
{
m_moveXOff = s_posMarkerPixmap->width() / 2;
const MidiTime t = m_begin + static_cast<int>( event->x() * MidiTime::ticksPerTact() / m_ppt );
if( m_loopPos[0] > m_loopPos[1] )
{