changed card hover handling

This commit is contained in:
Max-Wilhelm Bruker 2010-11-09 16:19:13 +01:00
parent 5b7dd037c1
commit 92d40515f2
12 changed files with 66 additions and 18 deletions

View file

@ -75,7 +75,7 @@ void HandZone::reorganizeCards()
c->setPos(xPadding + ((qreal) i) * (totalWidth - cardWidth) / (cardCount - 1), 5);
else
c->setPos(xPadding + ((qreal) i) * cardWidth + (totalWidth - cardCount * cardWidth) / 2, 5);
c->setZValue(i);
c->setRealZValue(i);
}
} else {
qreal totalWidth = boundingRect().width();
@ -95,7 +95,7 @@ void HandZone::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);
}
}
}