projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attempt to improve scrolling on smartphone
[vchess.git]
/
client
/
src
/
utils
/
printDiagram.js
diff --git
a/client/src/utils/printDiagram.js
b/client/src/utils/printDiagram.js
index
4a3a50e
..
4239688
100644
(file)
--- a/
client/src/utils/printDiagram.js
+++ b/
client/src/utils/printDiagram.js
@@
-102,7
+102,7
@@
export function getDiagram(args) {
boardDiv +=
"<img " +
"src='/images/pieces/" +
- vr.getPpath(board[i][j],
null, null
, orientation) +
+ vr.getPpath(board[i][j],
args.color, args.score
, orientation) +
V.IMAGE_EXTENSION + "' " +
"class='piece'/>";
}