From 849abbc4be203e8724928f57c229b611c8bf902c Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Wed, 19 Jun 2013 01:17:48 +0200 Subject: [PATCH] Fix error in flex which omitted the upper connection --- boxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes.py b/boxes.py index 934d77c..d0833ea 100755 --- a/boxes.py +++ b/boxes.py @@ -286,7 +286,7 @@ class Boxes: self.ctx.move_to(pos, (2*j+1)* sheight+ (2*j+2)*connection) self.ctx.line_to(pos, (2*j+3)* (sheight+ connection)) if not sections % 2: - self.ctx.move_to(pos, h - sheight- 2*connection) + self.ctx.move_to(pos, h - sheight- connection) self.ctx.line_to(pos, h) else: if sections % 2: