Skip to content

Commit

Permalink
support when values are equal, #430
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 23, 2022
1 parent 725f4f0 commit b50407d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/common/view/describers/HandPositionsDescriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ class HandPositionsDescriber {
else if ( currentDistance > this.previousDistance ) {
distanceProgressString = options.fartherString;
}
else {
return null; // somehow positions are equal, same case as in proportion
}

return distanceProgressString;
}
Expand Down

0 comments on commit b50407d

Please sign in to comment.