-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Annotation symbols displayed on wrong square if castling #543
Comments
Yes I tested it and it seems wrong. It's not like Lischess.org. In fact, in different forms of castling, it is sometimes not shown at all. In the video below, when I do the same castling in different ways, 'annotation' is shown (incorrectly) in one and not shown at all in the other. Here for that
than mobile/lib/src/model/common/chess.dart Line 42 in 3c6d110
and checking whether castling is done or not, it seems like it can be solved. Screen_Recording_20240209_164821.mp4 |
When I leave the king to c8, the 'currentNode.nags' list ([]) here appears empty. This list should not be empty. The list should be the same as the list ([6]) that comes when the king is left on a8. |
What is the problem?
Annotation symbols displayed on wrong square if castling was the last move
Steps to reproduce the bug
What did you expect to happen?
The shape should be displayed on the square the king moved to
What happened instead?
The shape was displayed on the square the rook moved from
Device Info
Pixel 6a
Operating System Version
Android 14
Additional information
Screenshot
The text was updated successfully, but these errors were encountered: