mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 01:40:55 -05:00
Fixed image centering
This commit is contained in:
parent
bfa002e50a
commit
c260a8a1d4
|
|
@ -123,7 +123,7 @@ void AbstractCardItem::paintPicture(QPainter *painter, const QSizeF &translatedS
|
|||
} else {
|
||||
painter->save();
|
||||
transformPainter(painter, translatedSize, angle);
|
||||
painter->drawPixmap(QPointF(0, angle ? -1 : 0), translatedPixmap);
|
||||
painter->drawPixmap(QPointF(1, 1), translatedPixmap);
|
||||
painter->restore();
|
||||
}
|
||||
painter->setBrush(bgColor);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user