lichess-org / chessground

Mobile/Web chess UI for lichess.org
https://lichess.org
GNU General Public License v3.0
1.04k stars 261 forks source link

Unable to render in horizontal mode #78

Closed LgArcida closed 6 years ago

LgArcida commented 6 years ago

I am trying to show a chessboard horizontally, default view is vertical. I tried rotating 90deg the parent container and chessboard scales accordingly. However, piece selection is completely wrong. As far as I can see the UI rotates but piece selection stays at top and bottom of the container.

ornicar commented 6 years ago

This is out of scope for chessground.

ornicar commented 6 years ago

Because of the way it computes which square was clicked based on cursor position. You'll have to fork chessground to make rotated boards work.