Skip to content
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

Fix: Correspondence confirm move behavior #1329 #1348

Closed
wants to merge 1 commit into from

Conversation

vimarisoft
Copy link
Contributor

Fixes bug #1329

Confirm move dialog does not disappeared when back arrow is pressed to visualize previous positions (it disappears correctly in web app). It's a problem not only related to correspondence chess, but to all time controls where "Move confirmation" preference is set.

To fix it, an additional condition is added (in GamePlayer widget) to show the ConfirmMove widget: 'canGoForward ==false' (the same condition used to disable the forward button). To achieve this, an additional parameter 'canGoForward' is added to the GamePlayer widget constructor..

@vimarisoft vimarisoft closed this Jan 8, 2025
@vimarisoft
Copy link
Contributor Author

Closed because of a dart formatting error in test, submitted new PR with formatting fixed.

@tom-anders
Copy link
Collaborator

FYI, it's totally fine (and probably preferred) to push additional commits (or use `git commit --amend) instead of opening a new PR

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.

2 participants