Skip to content

Commit

Permalink
Changed font color for legend.
Browse files Browse the repository at this point in the history
  • Loading branch information
natefrisch01 committed Mar 16, 2024
1 parent 35d1653 commit 2a5017b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linkManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class LinkManager {
this.currentTagColorIndex = (this.currentTagColorIndex + 1) % this.categoricalColors.length;

// Create and add the label
const textL = new Text(linkString, { fontFamily: 'Arial', fontSize: 14, fill: 0x000000 });
const textL = new Text(linkString, { fontFamily: 'Arial', fontSize: 14, fill: this.textColor });
textL.x = this.xOffset;
textL.y = this.yOffset;
renderer.px.stage.addChild(textL);
Expand Down

0 comments on commit 2a5017b

Please sign in to comment.