diff options
author | emkael <emkael@tlen.pl> | 2018-07-06 03:23:47 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-07-06 03:23:47 +0200 |
commit | 7ed51a63ac7aea8da6de888b04164b945ef745b5 (patch) | |
tree | 5651d62bd103e87a396fea655f8bac5277ed90dc /jfr_playoff/generator.py | |
parent | f883784164de0a72ce61e8b225435de337ead2ed (diff) |
Adding vertical margin to starting position boxes
Diffstat (limited to 'jfr_playoff/generator.py')
-rw-r--r-- | jfr_playoff/generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |