Fix thumbnail scaling on full zoom

parent 74e12a49
......@@ -629,10 +629,11 @@ void ClipItem::paint(QPainter *painter,
QSet <int> missing;
for (int i = left; i <= right; ++i) {
QPointF xpos = startPos + QPointF(FRAME_SIZE *(i - startOffset), 0);
thumbRect.moveTopLeft(xpos);
img = m_binClip->findCachedThumb(i);
if (img.isNull()) missing << i;
else {
painter->drawImage(xpos, img);
painter->drawImage(thumbRect, img);
}
painter->drawLine(xpos, xpos + QPointF(0, mapped.height()));
}
......
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