mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
Use native hover events (#5722)
* Use native hover events * Update cockatrice/src/game/cards/abstract_card_item.cpp * Reorder --------- Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
parent
b9900e67a6
commit
e4f40a82a2
9 changed files with 27 additions and 77 deletions
|
|
@ -2392,7 +2392,6 @@ void Player::eventMoveCard(const Event_MoveCard &event, const GameEventContext &
|
|||
card->setFaceDown(event.face_down());
|
||||
if (startZone != targetZone) {
|
||||
card->setBeingPointedAt(false);
|
||||
card->setHovered(false);
|
||||
|
||||
const QList<CardItem *> &attachedCards = card->getAttachedCards();
|
||||
for (auto attachedCard : attachedCards) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue