这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix: Make opponent's clock red when a player flags (issue #1561) #1580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 3, 2025

Conversation

QuartzIII
Copy link
Contributor

Fixes #1561

@@ -73,6 +73,8 @@ class Clock extends StatelessWidget {
? isEmergency
? effectiveClockStyle.emergencyBackgroundColor
: effectiveClockStyle.activeBackgroundColor
: isEmergency
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It adds the red background when flagged, but it also adds the red background when the game is still running and it is not the active side... not sure we want that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@QuartzIII
Copy link
Contributor Author

Before After
Before After

@veloce veloce merged commit eba971d into lichess-org:main May 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request: Make opponent's clock red when a player flags
2 participants