Commit f3b2539d authored by Tobias Leupold's avatar Tobias Leupold

AnnotationDialog::ImagePreview: Fixed position of grabbed area images

parent 660a1df4
......@@ -372,7 +372,7 @@ void ImagePreview::mouseReleaseEvent(QMouseEvent *event)
QPixmap ImagePreview::grabAreaImage(QRect area)
{
return QPixmap::fromImage(m_currentImage.getImage().copy(area.left() - m_minX,
area.top() - m_minY,
area.top() - m_minY - 1,
area.width(),
area.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