@AntonKhorev commented on this pull request.
> + gutter: 4
+ },
+ date: {
+ start: startDate
+ },
+ range: 13,
+ data: {
+ source: heatmapData,
+ type: "json",
+ x: "date",
+ y: "total_changes"
+ },
+ scale: {
+ color: {
+ type: "threshold",
+ range: currentTheme === "dark" ? rangeColors : rangeColors.reverse(),
`rangeColors.reverse()` reverses the array in place, probably not what you want.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5402#pullrequestreview-2563443325
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5402/review/2563443...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev