lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.52k stars 2.26k forks source link

Move indicators are sometimes in wrong places if player castles #118

Closed hassan-c closed 10 years ago

hassan-c commented 10 years ago

As seen in the following image:

This seems to be an intermittent problem. Most of the time the indicators will show in the correct places (in the above case, they should be on e1 and g1 but instead are on e1 and h1). I'm not exactly sure why it occurs.

ornicar commented 10 years ago

The castle was triggered by moving the king to h1.

ornicar commented 10 years ago

By the way, if you're building on top of lichess (cheers!), I must warn you that I'll be changing the frontend soon. I plan on using chessground for all board UIs, pretty soon.

hassan-c commented 10 years ago

Ah okay, apologies. I see. And thanks for the heads up -- much appreciated!