Commit ff02f68b authored by Ludovic Fauvet's avatar Ludovic Fauvet

timeline: one more fix to avoid artifacts at full zoom level

parent 02e011c0
......@@ -742,9 +742,9 @@ TracksView::drawBackground( QPainter *painter, const QRectF &rect )
QRectF trackRect = track->mapRectToScene( track->boundingRect() );
if ( track->mediaType() == MainWorkflow::VideoTrack )
painter->drawLine( rect.left(), trackRect.top(), rect.right(), trackRect.top() );
painter->drawLine( rect.left(), trackRect.top(), rect.right() + 1, trackRect.top() );
else
painter->drawLine( rect.left(), trackRect.bottom(), rect.right(), trackRect.bottom() );
painter->drawLine( rect.left(), trackRect.bottom(), rect.right() + 1, trackRect.bottom() );
}
// Audio/Video separator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment