Skip to content

Commit

Permalink
Fix removal X / square drawing in our canvas renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Aug 8, 2024
1 parent d93fe4e commit e5df12f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goban-engine",
"version": "8.3.19",
"version": "8.3.20",
"description": "",
"main": "build/goban-engine.js",
"types": "build/engine/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goban",
"version": "8.3.19",
"version": "8.3.20",
"description": "",
"main": "build/goban.js",
"types": "build/src/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/Goban/CanvasRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,8 @@ export class GobanCanvas extends Goban implements GobanCanvasInterface {
this.score_estimator.removal[j][i]) ||
pos.stone_removed
) {
draw_removal_x = true;
//draw_removal_x = true;
draw_removal_x = this.themes["removal-graphic"] === "x";
}
}
}
Expand Down

0 comments on commit e5df12f

Please sign in to comment.