mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
fixed player area layout
This commit is contained in:
parent
7bff204461
commit
2451c39ef2
7 changed files with 41 additions and 27 deletions
|
|
@ -174,7 +174,7 @@ void CardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
|||
QSizeF translatedSize = getTranslatedSize(painter);
|
||||
|
||||
qreal scaleFactor = translatedSize.width() / boundingRect().width();
|
||||
transformPainter(painter, translatedSize);
|
||||
transformPainter(painter, translatedSize, tapAngle);
|
||||
painter->setBackground(Qt::black);
|
||||
painter->setBackgroundMode(Qt::OpaqueMode);
|
||||
painter->setPen(Qt::white);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue