mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
deck list editing in deck storage tab; mouse hover event for deck view
This commit is contained in:
parent
d23ece59ea
commit
e0c7df1694
20 changed files with 251 additions and 45 deletions
|
|
@ -156,8 +156,8 @@ void CardZone::moveAllToZone()
|
|||
|
||||
// Cards need to be moved in reverse order so that the other
|
||||
// cards' list index doesn't change
|
||||
// for (int i = cards.size() - 1; i >= 0; i--)
|
||||
// player->client->moveCard(cards.at(i)->getId(), getName(), targetZone, targetX);
|
||||
for (int i = cards.size() - 1; i >= 0; i--)
|
||||
player->sendGameCommand(new Command_MoveCard(-1, getName(), cards.at(i)->getId(), getName(), targetX));
|
||||
}
|
||||
|
||||
QPointF CardZone::closestGridPoint(const QPointF &point)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue