Skip to content

Commit

Permalink
Fix Sowing Numerals renderer to use 'fill' instead of 'strokes' for t…
Browse files Browse the repository at this point in the history
…he numerals
  • Loading branch information
Perlkonig committed Apr 28, 2024
1 parent 33ec46b commit d835d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderers/sowingNumerals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ export class SowingNumeralsRenderer extends RendererBase {
const fontsize = 17;
const text = nestedGroup.text(key).font({
anchor: "start",
fill: this.options.colourContext.strokes,
fill: this.options.colourContext.fill,
size: fontsize,
});
text.attr("data-playerfill", true);
const temptext = this.rootSvg.text(key).font({
anchor: "start",
fill: this.options.colourContext.strokes,
fill: this.options.colourContext.fill,
size: fontsize,
});
const squaresize = Math.max(temptext.bbox().height, temptext.bbox().width);
Expand Down

0 comments on commit d835d22

Please sign in to comment.