Skip to content

Commit

Permalink
fix rotation for grade text
Browse files Browse the repository at this point in the history
  • Loading branch information
embix committed Dec 22, 2024
1 parent 4eb25f8 commit 06b72e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ts/RailroadMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,7 @@ export class RailroadMap {
.text((block) => block
.text(str)
.dx(300))
.rotate(this.inverted ? 180 : 0)
.attr('transform', makeTransformT(cp0, cp1))
.on('click', clickHandler)
.addClass(c);
Expand Down

0 comments on commit 06b72e7

Please sign in to comment.