Don't allow tiling + compose over border at the same time

It wouldn't make any sense. Just choose tiling
This commit is contained in:
David Edmundson 2014-07-17 22:42:21 +02:00
parent 371c9a53dd
commit 3eee37bd81

View File

@ -82,7 +82,7 @@ public:
//in compose over border we paint the center over the full size
//then blend in an alpha mask generated from the corners to
//remove the garbage left in the corners
if (m_border == FrameSvg::NoBorder && m_frameSvg->frameData()->composeOverBorder) {
if (m_border == FrameSvg::NoBorder && m_fitMode == Stretch && m_frameSvg->frameData()->composeOverBorder) {
QPixmap pixmap = QPixmap::fromImage(image);
QPainter p(&pixmap);
p.setCompositionMode(QPainter::CompositionMode_DestinationIn);