mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-06 01:57:56 -08:00
if cards in multiple zones are selected, don't create drag items for the ones you're not supposed to move
This commit is contained in:
@@ -295,7 +295,7 @@ void CardItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
||||
int j = 0;
|
||||
for (int i = 0; i < sel.size(); i++) {
|
||||
CardItem *c = (CardItem *) sel.at(i);
|
||||
if (c == this)
|
||||
if ((c == this) || (c->getZone() != zone))
|
||||
continue;
|
||||
++j;
|
||||
QPointF childPos;
|
||||
|
||||
Reference in New Issue
Block a user