mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Continuumatrice: adjust extra pile geometry and add built-in icon resources
This commit is contained in:
parent
3df441195d
commit
dbb044771b
1 changed files with 2 additions and 0 deletions
|
|
@ -94,10 +94,12 @@ void PileZone::paint(QPainter *painter, const QStyleOptionGraphicsItem * /*optio
|
|||
cardItems().at(0)->paintPicture(painter, cardItems().at(0)->getTranslatedSize(painter), 90);
|
||||
}
|
||||
|
||||
painter->save();
|
||||
painter->translate(CardDimensions::WIDTH_HALF_F, CardDimensions::HEIGHT_HALF_F);
|
||||
painter->rotate(-90);
|
||||
painter->translate(-CardDimensions::WIDTH_HALF_F, -CardDimensions::HEIGHT_HALF_F);
|
||||
paintNumberEllipse(cardItems().size(), 28, Qt::white, -1, -1, painter);
|
||||
painter->restore();
|
||||
|
||||
if (!customDisplayName.isEmpty()) {
|
||||
painter->save();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue