Skip to content

Commit

Permalink
Merge pull request #1367 from curlymorphic/issue1293
Browse files Browse the repository at this point in the history
fix for underlying bug 1293 loop markers
  • Loading branch information
diizy committed Nov 29, 2014
2 parents 1d35b61 + 05fd711 commit 34ce794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/timeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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] )
{
Expand Down

0 comments on commit 34ce794

Please sign in to comment.