refactor: precision++

This commit is contained in:
cha0s 2019-03-22 14:29:38 -05:00
parent 1098725636
commit b361082de2

View File

@ -44,8 +44,8 @@ export class Listed extends Trait {
return;
}
// Break into 4 points.
const width = unifiedBoundingBox[2] - .01;
const height = unifiedBoundingBox[3] - .01;
const width = unifiedBoundingBox[2] - .0001;
const height = unifiedBoundingBox[3] - .0001;
const upperLeft = Rectangle.position(unifiedBoundingBox);
const upperRight = Vector.add(upperLeft, [width, 0]);
const lowerLeft = Vector.add(upperLeft, [0, height]);