alexobviously / alexobviously/squares

Skipping of move animation

Open
#22 4 comments 0 reactions 1 assignee Claimed by @alexobviously View on GitHub
bug
Dominant language
Dart
Stars
40
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Hi Alex,

I am experiencing a display issue with the squares chessboard when programmatically making a move. I use the makeMove command on the corresponding bishop instance and update the SquaresState. Sometimes, the move animation is skipped. As you can see in the video, this seems to be randomly on specific moves, however it then repeats when I use the undo command and repeat the specific move:

https://github.com/alexobviously/squares/assets/152015018/887fce86-ee93-46da-8322-d947e849af68

Here, it is for instance the knight move to B6, where the animation is simply skipped. I have increased the animation duration to make it more visible. As there is no difference between how I execute the different moves, I am a bit confused why this is happening sometimes.

Do you have any idea what could be the reason here? Have you faced something similar in the past?

Thanks in advance for any advise!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.