diff --git a/paintutils.cpp b/paintutils.cpp index b3be19ada..467ee9679 100644 --- a/paintutils.cpp +++ b/paintutils.cpp @@ -184,7 +184,7 @@ QPixmap transition(const QPixmap &from, const QPixmap &to, qreal amount) QPixmap startPixmap(from); QPixmap targetPixmap(to); - if (from.size() != to.size()) { + if (from.size() != to.size() || !from.hasAlphaChannel() || !to.hasAlphaChannel()) { centerPixmaps(startPixmap, targetPixmap); }