mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Stuff.
Took 15 minutes
This commit is contained in:
parent
0bd1f78391
commit
1cce0df0fa
1 changed files with 7 additions and 4 deletions
|
|
@ -182,10 +182,13 @@ void PlayerGraphicsItem::rearrangeZones()
|
|||
handZoneGraphicsItem->setWidth(tableZoneGraphicsItem->getWidth() +
|
||||
stackZoneGraphicsItem->boundingRect().width());
|
||||
} else {
|
||||
if (player->getHandZone()->contentsKnown()) {
|
||||
player->setHandVisible(true);
|
||||
|
||||
handZoneGraphicsItem->setPos(base);
|
||||
base += QPointF(handZoneGraphicsItem->boundingRect().width(), 0);
|
||||
} else {
|
||||
player->setHandVisible(false);
|
||||
}
|
||||
|
||||
stackZoneGraphicsItem->setPos(base);
|
||||
base += QPointF(stackZoneGraphicsItem->boundingRect().width(), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue