summaryrefslogtreecommitdiff
path: root/playoff.js
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-02-26 10:20:01 +0100
committeremkael <emkael@tlen.pl>2017-02-26 10:20:01 +0100
commite20c4cf4871f86023a4defda0033e4d558f2a3c1 (patch)
treeba3891dba89fd817733e91e6c953fa3316f376bf /playoff.js
parentd50fd7a160187f9d4f19ff56aae6161b3be0d23b (diff)
Style adjustements for bracket midpoints
Diffstat (limited to 'playoff.js')
-rw-r--r--playoff.js4
1 files changed, 2 insertions, 2 deletions
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
],
[