mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Introduced stack zone, shrunk table to have higher zoom factor
This commit is contained in:
parent
1cd76c2641
commit
df5791d318
16 changed files with 186 additions and 23 deletions
|
|
@ -369,9 +369,7 @@ void CardItem::playCard(QGraphicsSceneMouseEvent *event)
|
|||
bool faceDown = event->modifiers().testFlag(Qt::ShiftModifier);
|
||||
bool tapped = info->getCipt();
|
||||
|
||||
TableZone *table = zone->getPlayer()->getTable();
|
||||
QPoint gridPoint = QPoint(-1, 3 - info->getTableRow());
|
||||
table->handleDropEventByGrid(id, zone, gridPoint, faceDown, tapped);
|
||||
zone->getPlayer()->playCard(this, faceDown, tapped);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue