Skip to content

Conversation

@whmcfg
Copy link
Owner

@whmcfg whmcfg commented Jan 8, 2026

This PR modifies Analysis Sync to fix a potential undesired behavior when importing FEN games.

Before:
Initital state has no moves, playing adds them to the analysis history. Going backwards destroys these moves until the user is left with no history.

After:
Initial state has no moves, playing adds them permanently to the analysis history. Going backwards maintains the created history. Playing other moves falls into "phantom" history, the same way as playing other moves in other import modes. Going backwards undo each "phantom" move until it reaches the permanent history.

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