Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
caewok committed Jan 22, 2024
1 parent 4ea68f2 commit a8e3986
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 0.8.1

Fix toggling on/off the pathfinding between waypoints.
Fix toggling pathfinding between waypoints.
Various fixes to display of ruler for other users.

Fixes for display of distance calculations between waypoints.
Possible fix for issue #33 (undefined `token.bounds`).

# 0.8.0
Added pathfinding toggle. Pathfinding works on gridded (both hex and square) and gridless maps. Works when dragging tokens, if Token Ruler is enabled, or when using the Ruler control and you start at a token.
Expand Down
2 changes: 1 addition & 1 deletion scripts/terrain_elevation.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function elevationAtLocation(location, measuringToken, startingElevation = Numbe
// Prioritize the highest token at the location
const max_token_elevation = retrieveVisibleTokens().reduce((e, t) => {
// Is the point within the token control area?
// Issue #34: bounds can apparently be undefined in some systems?
// Issue #33: bounds can apparently be undefined in some systems?
if ( !t.bounds || !t.bounds.contains(location.x, location.y) ) return e;
return Math.max(tokenElevation(t), e);
}, Number.NEGATIVE_INFINITY);
Expand Down

0 comments on commit a8e3986

Please sign in to comment.