Skip to content

Conversation

@TheMadSword
Copy link
Contributor

~Fix missing shortcuts in analysis (bmir + shift-space + 'enter')
~Fixes flip erroring in /broadcast
Fixes #13332

this.chessground.set({
orientation: this.bottomColor(),
});
if (this.chessground) {
Copy link

Choose a reason for hiding this comment

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

Wouldn't just this.chessground?.set... work? On the other side, should the code continue if chessground is not available?

Copy link
Contributor Author

@TheMadSword TheMadSword Aug 7, 2023

Choose a reason for hiding this comment

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

1- Good point regarding @ '?.' ; I'll change
2- I think logically yes, but maybe people were using that old flipping behaviour before, so I don't change that to not affect their workflow; and the rest doesn't error.

@ornicar ornicar merged commit fda19a2 into lichess-org:master Aug 8, 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.

Missing keybinds in /broadcasts & studies AND Flip erroring

3 participants