Skip to content

Conversation

@benediktwerner
Copy link
Member

@benediktwerner benediktwerner commented Apr 2, 2023

Without the Writes given, it writes them as ints which breaks chessground i.e. doesn't show any shapes in studies and for users without animations, doesn't update the board anymore after an attempt to draw a shape.

Probably also should deny the default opaque writer to avoid this but forgot how exactly to do that again. I guess maybe then it also wouldn't warn that it's unused anymore.

Fix #12617

@ornicar ornicar merged commit 33fcc16 into lichess-org:master Apr 2, 2023
ornicar added a commit that referenced this pull request Apr 3, 2023
* master:
  fix finished anon games
  New Crowdin updates (#12624)
  New Crowdin updates (#12616)
  make sure chess.Pos is never written as a Json Int - for #12618
  don't send very short ublog posts to zulip
  Fix shapes in studies
@benediktwerner benediktwerner deleted the pos-writes-not-unused branch April 5, 2023 19:14
@ghost ghost mentioned this pull request Apr 9, 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.

Arrows and circles (and piece movement sometimes) is broken

2 participants