Skip to content

Commit

Permalink
Update tilemap legend
Browse files Browse the repository at this point in the history
  • Loading branch information
wpears committed Oct 31, 2024
1 parent 32b6ff5 commit 4a60e04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function trimTenth(v) {
function formatLegendValues(s1, s2, isLast) {
const f1 = mLabel(s1);
const f2 = mLabel(s2);
return `${f1[0]}${f1[1]} - ${isLast ? f2[0] : trimTenth(f2[0])}${f2[1]}`;
return `${f1[0]}${f1[1]} to ${isLast ? f2[0] : trimTenth(f2[0])}${f2[1]}`;
}

/**
Expand Down

0 comments on commit 4a60e04

Please sign in to comment.