update
This commit is contained in:
parent
0527922828
commit
5756955d92
|
@ -28,7 +28,7 @@ export default class ChessMatePlugin extends Plugin {
|
||||||
// showMoves: options.showMoves === 'true' || this.settings.showMoves,
|
// showMoves: options.showMoves === 'true' || this.settings.showMoves,
|
||||||
chessground: {
|
chessground: {
|
||||||
movable: {
|
movable: {
|
||||||
free: options.editable === 'true' || false,
|
free: true,
|
||||||
color: 'both',
|
color: 'both',
|
||||||
},
|
},
|
||||||
orientation: (options.orientation as 'white' | 'black') || 'white',
|
orientation: (options.orientation as 'white' | 'black') || 'white',
|
||||||
|
|
Loading…
Reference in New Issue