Closed suguruwataru closed 3 months ago
Name | Link |
---|---|
Latest commit | c03d89c898c7a3d25e18cf4466be552498de7fed |
Latest deploy log | https://app.netlify.com/sites/astronaut-horse-32874/deploys/663a768dc1f9a4000878d399 |
Deploy Preview | https://deploy-preview-215--astronaut-horse-32874.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@ii41 - Thank you so much for catching this bug and providing such a great fix too. Really appreciate it!
Group.toBound
's return type was wrongly markedGroup
. Closes #214Bound
stores top left and bottom rightPt
s separately. Close #213For 2, top left and bottom right
Pt
s were separate fromPt
s that are indexable using integers.This causes that, when a calculation method such as
add
inherited fromGroup
is used on aBound
, theBound
's cornerPts
s are sometimes not updated, asGroup
uses integer indices for getting the memberPt
s.In order to fix this, the separate members
_topLeft
and_bottomRight
are removed fromBound
.topLeft
andbottomRight
are now just getters for integer-indexablePt
s.