mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -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
|
|
@ -52,7 +52,7 @@ public:
|
|||
// getCard() finds a card by id.
|
||||
CardItem *getCard(int cardId, const QString &cardName);
|
||||
// takeCard() finds a card by position and removes it from the zone and from all of its views.
|
||||
virtual CardItem *takeCard(int position, int cardId, const QString &cardName, bool canResize = true);
|
||||
virtual CardItem *takeCard(int position, int cardId, bool canResize = true);
|
||||
ZoneViewZone *getView() const { return view; }
|
||||
void setView(ZoneViewZone *_view) { view = _view; }
|
||||
virtual void reorganizeCards() = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue