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

Add toggle to view pawn structure without pieces #323

Conversation

zackschuster
Copy link
Contributor

Pieces are hidden by injecting a stylesheet with Helmet. The board is made non-interactive by setting draggable.enabled to false.

It is still possible to cycle through moves with e.g. the arrow keys. I decided to leave that in since it might be useful to view structural transformations this way.

@zackschuster zackschuster force-pushed the view-pawn-structure branch 2 times, most recently from 2b15123 to 41d44e4 Compare July 3, 2024 10:56
@zackschuster zackschuster force-pushed the view-pawn-structure branch from 41d44e4 to 23b449c Compare July 3, 2024 10:59
@franciscoBSalgueiro
Copy link
Owner

Thanks! I just changed the icon to a Pawn with a filled variant which I think looks a bit better

@franciscoBSalgueiro franciscoBSalgueiro merged commit 1977ab0 into franciscoBSalgueiro:master Jul 4, 2024
2 checks passed
@zackschuster
Copy link
Contributor Author

Thanks for finding that! I saw the icon listed on the website, but it was under a different name so I couldn't find it myself. I agree it looks better 😸

@zackschuster zackschuster deleted the view-pawn-structure branch July 4, 2024 22:03
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