[TD]fix artifact in PDF export

This commit is contained in:
Wanderer Fan
2022-04-06 19:00:31 -04:00
committed by WandererFan
parent 98eb81d0ba
commit 3ba8359d33
2 changed files with 27 additions and 5 deletions

View File

@@ -134,6 +134,8 @@ void QGIFace::draw()
lineSetToFillItems(ls);
}
}
m_image->hide();
m_rect->hide();
} else if ((m_mode == FromFile) ||
(m_mode == SvgFill) ||
(m_mode == BitmapFill)) {
@@ -171,7 +173,12 @@ void QGIFace::draw()
}
} else if (m_mode == PlainFill) {
setFill(m_colNormalFill, m_styleNormal);
m_image->hide();
m_rect->hide();
}
} else {
m_image->hide();
m_rect->hide();
}
show();
}