diff --git a/engine/package.json b/engine/package.json index 034c911e..962999ab 100644 --- a/engine/package.json +++ b/engine/package.json @@ -1,6 +1,6 @@ { "name": "goban-engine", - "version": "8.3.24", + "version": "8.3.25", "description": "", "main": "build/goban-engine.js", "types": "build/engine/index.d.ts", diff --git a/package.json b/package.json index 6ee586ee..1e078e1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "goban", - "version": "8.3.24", + "version": "8.3.25", "description": "", "main": "build/goban.js", "types": "build/src/index.d.ts", diff --git a/src/Goban/SVGRenderer.ts b/src/Goban/SVGRenderer.ts index 87526632..f3e6f5c0 100644 --- a/src/Goban/SVGRenderer.ts +++ b/src/Goban/SVGRenderer.ts @@ -1938,13 +1938,15 @@ export class SVGRenderer extends Goban implements GobanSVGInterface { ) { const m = this.engine.getMoveByLocation(i, j, false); if (m && !m.trunk) { - if (m.edited) { - //letter = "triangle"; - if (this.engine.board[j][i]) { - alt_marking = "triangle"; + const move_diff = m.getMoveNumberDifferenceFromTrunk(); + if (move_diff !== m.move_number) { + if (m.edited) { + if (this.engine.board[j][i]) { + alt_marking = "triangle"; + } + } else { + letter = move_diff.toString(); } - } else { - letter = m.getMoveNumberDifferenceFromTrunk().toString(); } } }