mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
changed card hover handling
This commit is contained in:
parent
5b7dd037c1
commit
92d40515f2
12 changed files with 66 additions and 18 deletions
|
|
@ -95,7 +95,7 @@ void ZoneViewZone::reorganizeCards()
|
|||
qreal x = (i / rows) * CARD_WIDTH;
|
||||
qreal y = (i % rows) * CARD_HEIGHT / 3;
|
||||
c->setPos(x, y);
|
||||
c->setZValue(i);
|
||||
c->setRealZValue(i);
|
||||
}
|
||||
|
||||
optimumRect = QRectF(0, 0, cols * CARD_WIDTH, ((rows - 1) * CARD_HEIGHT) / 3 + CARD_HEIGHT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue