mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 11:33:55 -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
|
|
@ -470,7 +470,6 @@ bool CardItem::animationEvent()
|
|||
.translate(CARD_WIDTH_HALF, CARD_HEIGHT_HALF)
|
||||
.rotate(tapAngle)
|
||||
.translate(-CARD_WIDTH_HALF, -CARD_HEIGHT_HALF));
|
||||
setHovered(false);
|
||||
update();
|
||||
|
||||
return animationIncomplete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue