From e20c4cf4871f86023a4defda0033e4d558f2a3c1 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 26 Feb 2017 10:20:01 +0100 Subject: Style adjustements for bracket midpoints --- playoff.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'playoff.js') diff --git a/playoff.js b/playoff.js index 9060c6d..3075d27 100644 --- a/playoff.js +++ b/playoff.js @@ -103,11 +103,11 @@ var playoff = { (vertical_from[1] + vertical_from[3]) / 2 ], [ - (vertical_from[0] + vertical_from[2] + vertical_to[0] + vertical_to[2]) / 4, + this.settings[type + '_v_offset'] + (vertical_from[0] + vertical_from[2] + vertical_to[0] + vertical_to[2]) / 4, (vertical_from[1] + vertical_from[3]) / 2 ], [ - (vertical_from[0] + vertical_from[2] + vertical_to[0] + vertical_to[2]) / 4, + this.settings[type + '_v_offset'] + (vertical_from[0] + vertical_from[2] + vertical_to[0] + vertical_to[2]) / 4, (vertical_to[1] + vertical_to[3]) / 2 ], [ -- cgit v1.2.3