koishi-plugin-cchess 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1640,15 +1640,15 @@ function apply(ctx, config) {
|
|
|
1640
1640
|
for (let col = 0; col < 9; col++) {
|
|
1641
1641
|
const x = columnAt(isFlipBoard ? 8 - col : col);
|
|
1642
1642
|
label(FILES[col], x, 30, 22, FRAME.onSurfaceVariant);
|
|
1643
|
-
label(String(col + 1), x, 64, 22, FRAME.
|
|
1643
|
+
label(String(col + 1), x, 64, 22, FRAME.onSurfaceVariant);
|
|
1644
1644
|
label(RED_FILES[col], x, FRAME_HEIGHT - 62, 24, FRAME.onSurfaceVariant);
|
|
1645
|
-
label(FILES[col], x, FRAME_HEIGHT - 26, 22, FRAME.
|
|
1645
|
+
label(FILES[col], x, FRAME_HEIGHT - 26, 22, FRAME.onSurfaceVariant);
|
|
1646
1646
|
}
|
|
1647
1647
|
for (let row = 0; row < 10; row++) {
|
|
1648
1648
|
const y = rowAt(isFlipBoard ? 9 - row : row);
|
|
1649
1649
|
const text = String(9 - row);
|
|
1650
|
-
label(text, 19, y, 22, FRAME.
|
|
1651
|
-
label(text, FRAME_WIDTH - 19, y, 22, FRAME.
|
|
1650
|
+
label(text, 19, y, 22, FRAME.onSurfaceVariant);
|
|
1651
|
+
label(text, FRAME_WIDTH - 19, y, 22, FRAME.onSurfaceVariant);
|
|
1652
1652
|
}
|
|
1653
1653
|
return canvas.toBuffer(imageMimeType);
|
|
1654
1654
|
}
|