Commit 9c5b4bbd authored by Ludovic Fauvet's avatar Ludovic Fauvet

Enhance precision

parent 76c97990
......@@ -154,7 +154,7 @@ void TracksView::moveMediaItem( AbstractGraphicsMediaItem* item, QPoint position
if ( track > m_numVideoTrack - 1)
track = m_numVideoTrack - 1;
qreal mappedXPos = ( mapToScene( position ).x() );
qreal mappedXPos = ( mapToScene( position ).x() + 0.5 );
QPointF oldPos = m_dragItem->pos();
QGraphicsItem* oldParent = m_dragItem->parentItem();
......
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