Skip to content

Commit

Permalink
Merge pull request FreezingMoon#2584 from zaryanz/2240-grid-coords-wh…
Browse files Browse the repository at this point in the history
…ite-outline

Coordinate strokes for unit, trap or drop, fixes FreezingMoon#2240
  • Loading branch information
DreadKnight authored May 22, 2024
2 parents 410a685 + 259f535 commit 04d9796
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utility/hex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,10 @@ export class Hex {
align: 'center',
},
);
if (this.creature || this.trap || this.drop) {
this.coordText.stroke = '#ffffff';
this.coordText.strokeThickness = 5;
}
this.coordText.anchor.setTo(0.5);
this.grid.overlayHexesGroup.add(this.coordText);
}
Expand Down

0 comments on commit 04d9796

Please sign in to comment.