Lila: boardeditor (ui/editor) does not update FEN

Created on 11 May 2016  路  5Comments  路  Source: ornicar/lila

The boardeditor (ui/editor) does not update FEN when dragging a spare piece to the first available square starting top left.

Thats caused by chessground not firing an updated event in that case when the drag is initiated via https://github.com/ornicar/lila/blob/master/ui/editor/src/drag.js and passed to chessground and the piece is dropped to that first empty square thats used by https://github.com/ornicar/lila/blob/master/ui/editor/src/drag.js .

bug

Most helpful comment

It works now. Probably this was fixed as a side-effect of the fix of a crazyhouse drop bug.

All 5 comments

It works now. Probably this was fixed as a side-effect of the fix of a crazyhouse drop bug.

Ha, I looked for that issue to close it, without success. Thanks.

Is this issue solved also for the V3 version of chessground ?
And where do i find the fix for the crazyhouse drop bug so i may copy it for my chessground V3
issue ?

Here's the fix that can probably backported to v3 & v2: https://github.com/ornicar/chessground/commit/0d8cfabdca7c236a723d49dd1c24992bc78ba662

Thanks a lot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arex1337 picture arex1337  路  4Comments

nojoking picture nojoking  路  3Comments

isaacl picture isaacl  路  4Comments

nojoking picture nojoking  路  4Comments

DVRazor picture DVRazor  路  3Comments