mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 00:53:57 -07:00
This reverts commit e4f40a82a2.
This change had unintended consequences in the hover behavior, reverting
for now.
This commit is contained in:
parent
d03f5388d4
commit
be28d50997
9 changed files with 77 additions and 27 deletions
|
|
@ -30,9 +30,11 @@ private:
|
|||
QList<QList<Player *>> playersByColumn;
|
||||
QList<ZoneViewWidget *> zoneViews;
|
||||
QSize viewSize;
|
||||
QPointer<CardItem> hoveredCard;
|
||||
QBasicTimer *animationTimer;
|
||||
QSet<CardItem *> cardsToAnimate;
|
||||
int playerRotation;
|
||||
void updateHover(const QPointF &scenePos);
|
||||
|
||||
public:
|
||||
explicit GameScene(PhasesToolbar *_phasesToolbar, QObject *parent = nullptr);
|
||||
|
|
@ -63,6 +65,7 @@ public slots:
|
|||
void rearrange();
|
||||
|
||||
protected:
|
||||
bool event(QEvent *event) override;
|
||||
void timerEvent(QTimerEvent *event) override;
|
||||
signals:
|
||||
void sigStartRubberBand(const QPointF &selectionOrigin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue