mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
don't autoclose card view if single card gets dragged into same zone (#5517)
* rename canResize param to toNewZone * pass toNewZone down * don't autoclose card view if card gets dragged into same zone
This commit is contained in:
parent
085f0dd26c
commit
e8b1e3ef0c
5 changed files with 18 additions and 9 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
void reorganizeCards() override;
|
||||
void initializeCards(const QList<const ServerInfo_Card *> &cardList = QList<const ServerInfo_Card *>());
|
||||
bool prepareAddCard(int x);
|
||||
void removeCard(int position);
|
||||
void removeCard(int position, bool toNewZone);
|
||||
int getNumberCards() const
|
||||
{
|
||||
return numberCards;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue