From de342f5547ebe3269ad59da33eaf444f3df6cfa2 Mon Sep 17 00:00:00 2001 From: colinmorris Date: Thu, 23 Feb 2017 14:05:31 -0800 Subject: [PATCH] Fix bug caused by bugfix. :( --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 85630be..275a8cd 100644 --- a/src/utils.js +++ b/src/utils.js @@ -10,7 +10,7 @@ class Diagonal { } static fromPointAndLength(x, y, len) { - return new Diagonal(x, y, x+len, y+len); + return new Diagonal(x, y, x+(len-1), y+(len-1)); } get length() {