mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
parent
acb40bc738
commit
8ad448a23c
4 changed files with 24 additions and 25 deletions
|
|
@ -95,7 +95,7 @@ void AbstractCardItem::paintPicture(QPainter *painter, const QSizeF &translatedS
|
|||
if(facedown)
|
||||
{
|
||||
// never reveal card color, always paint the card back
|
||||
PictureLoader::getPixmap(translatedPixmap, nullptr, translatedSize.toSize());
|
||||
PictureLoader::getCardBackPixmap(translatedPixmap, translatedSize.toSize());
|
||||
} else {
|
||||
// don't even spend time trying to load the picture if our size is too small
|
||||
if(translatedSize.width() > 10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue