Skip to content

Conversation

@cmgchess
Copy link
Contributor

close #14204

i'm not sure why coordinates was coupled with the embed value so I created a new type field. hopefully, this didn't break somewhere else
image

image

fen: ctrl.initialFen,
orientation: ctrl.options.orientation || 'white',
coordinates: !ctrl.cfg.embed,
coordinates: ctrl.options.coordinates !== false,
Copy link
Contributor Author

@cmgchess cmgchess Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undefined => true
true => true
false => false
looks hacky tho :/

@ornicar
Copy link
Collaborator

ornicar commented Dec 11, 2023

The embedded editor is necessarily small, that's why coordinates were not displayed in embeds.

@ornicar ornicar merged commit 41809e9 into lichess-org:master Dec 11, 2023
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.

[study] No coordinates displayed when creating new chapter with specific position

2 participants