mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
removed unnecessary repaint when destroying token
This commit is contained in:
parent
51f9f34e8b
commit
a029994437
5 changed files with 15 additions and 11 deletions
|
|
@ -174,9 +174,9 @@ void TableZone::toggleTapped()
|
|||
player->sendCommandContainer(new CommandContainer(cmdList));
|
||||
}
|
||||
|
||||
CardItem *TableZone::takeCard(int position, int cardId, const QString &cardName, bool canResize)
|
||||
CardItem *TableZone::takeCard(int position, int cardId, bool canResize)
|
||||
{
|
||||
CardItem *result = CardZone::takeCard(position, cardId, cardName);
|
||||
CardItem *result = CardZone::takeCard(position, cardId);
|
||||
if (canResize)
|
||||
resizeToContents();
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue