Skip to content

Commit

Permalink
Remove maxMargin from Bounds.equals doc string (#8500)
Browse files Browse the repository at this point in the history
  • Loading branch information
Falke-Design committed Oct 1, 2022
1 parent fc481fd commit 1bf705c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geometry/Bounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ Bounds.prototype = {
},


// @method equals(otherBounds: Bounds, maxMargin?: Number): Boolean
// Returns `true` if the rectangle is equivalent (within a small margin of error) to the given bounds. The margin of error can be overridden by setting `maxMargin` to a small number.
// @method equals(otherBounds: Bounds): Boolean
// Returns `true` if the rectangle is equivalent to the given bounds.
equals: function (bounds) {
if (!bounds) { return false; }

Expand Down

0 comments on commit 1bf705c

Please sign in to comment.