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

Make 'f' correctly toggle the orientation in a new chapter form #16904

Merged

Conversation

johndoknjas
Copy link
Contributor

This PR makes it so that pressing 'f' in a new chapter form is basically the same as the user toggling the orientation dropdown.

Note that for racing kings, pressing 'f' will toggle the orientation in the dropdown. However, it was already the case that toggling the dropdown would flip the editor's chessground board. And the actual effect on the resulting chapter board will stay the same: never being flipped initially for racing kings, irrespective of the value in the orientation dropdown. This inconsistency should probably be solved in general though, I made an issue for it a few months ago.

…p the editor board and not the open chapter in the background.
…ivalent to manually toggling the orientation dropdown value.
@johndoknjas johndoknjas changed the title Making pressing 'f' change the editor orientation, beyond just the chessground board Make 'f' correctly flip the orientation in a new chapter form Feb 1, 2025
@johndoknjas johndoknjas changed the title Make 'f' correctly flip the orientation in a new chapter form Make 'f' correctly toggle the orientation in a new chapter form Feb 1, 2025
@ornicar ornicar merged commit 905f1d0 into lichess-org:master Feb 2, 2025
2 checks passed
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