mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-02 17:08:12 -07:00
changed card hover handling
This commit is contained in:
@@ -77,7 +77,7 @@ void StackZone::reorganizeCards()
|
||||
c->setPos(x, ((qreal) i) * (totalHeight - cardHeight) / (cardCount - 1));
|
||||
else
|
||||
c->setPos(x, ((qreal) i) * cardHeight + (totalHeight - cardCount * cardHeight) / 2);
|
||||
c->setZValue(i);
|
||||
c->setRealZValue(i);
|
||||
}
|
||||
}
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user