Skip to content

Commit

Permalink
Fix redscreen when backing out of a review
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Aug 23, 2024
1 parent b1126dd commit 1b81944
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Goban/SVGRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ export class SVGRenderer extends Goban implements GobanSVGInterface {
this.setTheme(this.getSelectedThemes(), true);
let first_pass = true;
const watcher = this.watchSelectedThemes((themes: GobanSelectedThemes) => {
if (!this.engine) {
return;
}
if (
themes.black === "Custom" ||
themes.white === "Custom" ||
Expand Down

0 comments on commit 1b81944

Please sign in to comment.