Skip to content

Commit

Permalink
rev leaflet treering
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McFadden committed Sep 18, 2024
1 parent faf31b4 commit fb17766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/leaflet-treering/leaflet-treering.js
Original file line number Diff line number Diff line change
Expand Up @@ -5141,7 +5141,7 @@ function Helper(Lt) {
if (e.start) {
prevPt = e;
} else if (e.break) {
disToBreak = Lt.helper.trueDistance(prevPt.latLng, e.latLng);
disToBreak += Lt.helper.trueDistance(prevPt.latLng, e.latLng);
} else if (e.year || e.year == 0) {
// Only add year once. If subannual, both early- and late-wood points have the same year, must only add one of them.
let annual = !Lt.measurementOptions.subAnnual;
Expand Down

0 comments on commit fb17766

Please sign in to comment.