pgn-viewer
pgn-viewer copied to clipboard
width and movesWidth combined don't work as expected
When you combine the configuration parameters width
and movesWidth
, they don't have the expected effect:
- Layout top:
movesWidth
is ignored completely (which may be the right decision). - Layout left:
movesWidth
works, butboardWidth
is not set aswidth - movesWidth
, so at the end, the moves may overlap some other region.
The following screenshot comes from the configuration: {pgn: pgn, layout: 'left', width: '400px', movesWidth: '200px'}
So the board size is computed wrong here. Some more combinations should be tested as well.