Small fixes
[vchess.git] / client / src / utils / printDiagram.js
index ebc4d11..ef0d2b5 100644 (file)
@@ -73,6 +73,7 @@ export function getDiagram(args) {
   // Obtain the array of pieces images names:
   const board = V.GetBoard(args.position);
   const orientation = args.orientation || "w";
   // Obtain the array of pieces images names:
   const board = V.GetBoard(args.position);
   const orientation = args.orientation || "w";
+  const darkBottomRight = !!args.darkBottomRight;
   const markArray = getMarkArray(args.marks);
   const shadowArray = getShadowArray(args.shadow);
   const vr = new V(); //just for pieces images paths
   const markArray = getMarkArray(args.marks);
   const shadowArray = getShadowArray(args.shadow);
   const vr = new V(); //just for pieces images paths