From 7ed51a63ac7aea8da6de888b04164b945ef745b5 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 6 Jul 2018 03:23:47 +0200 Subject: Adding vertical margin to starting position boxes --- jfr_playoff/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jfr_playoff') diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py index b72c34d..0680aba 100644 --- a/jfr_playoff/generator.py +++ b/jfr_playoff/generator.py @@ -144,7 +144,7 @@ class PlayoffGenerator(object): boxes += self.p_temp.get( 'STARTING_POSITION_BOX', 0, - int(float(order) / float(len(positions)) * dimensions[1]), + self.page['margin'] / 2 + int(float(order) / float(len(positions)) * dimensions[1]), place, self.p_temp.get('POSITION_BOX', place)) order += 1 -- cgit v1.2.3