mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-21 00:53:40 -08:00
Fixed image centering
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user