X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Futils%2FprintDiagram.js;fp=client%2Fsrc%2Futils%2FprintDiagram.js;h=ef0d2b55f528b823823450c8c87bd3760a71697f;hp=ebc4d1140da578524673eef71877ac11014df789;hb=2a2936023cda0888e215ff699d420090372899b0;hpb=5c27a4b518693204ee33f85b50cb2cd518d38941 diff --git a/client/src/utils/printDiagram.js b/client/src/utils/printDiagram.js index ebc4d114..ef0d2b55 100644 --- a/client/src/utils/printDiagram.js +++ b/client/src/utils/printDiagram.js @@ -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"; + const darkBottomRight = !!args.darkBottomRight; const markArray = getMarkArray(args.marks); const shadowArray = getShadowArray(args.shadow); const vr = new V(); //just for pieces images paths