mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-27 00:53:55 -07:00
fix bug with phase highlighting in replays (#5161)
* fix bug with incorrectly highlighted phases * fix new bug with phases continuously darkening * use preincrement instead of postincrement * simplify conditional
This commit is contained in:
parent
0c4e8ca290
commit
6652012f4c
4 changed files with 51 additions and 6 deletions
|
|
@ -45,6 +45,7 @@ public:
|
|||
{
|
||||
return active;
|
||||
}
|
||||
void reset();
|
||||
void triggerDoubleClickAction();
|
||||
signals:
|
||||
void clicked();
|
||||
|
|
@ -85,6 +86,7 @@ public:
|
|||
public slots:
|
||||
void setActivePhase(int phase);
|
||||
void triggerPhaseAction(int phase);
|
||||
void reset();
|
||||
private slots:
|
||||
void phaseButtonClicked();
|
||||
void actNextTurn();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue