Fix error in flex which omitted the upper connection

This commit is contained in:
Florian Festi 2013-06-19 01:17:48 +02:00
parent 17140eafba
commit 849abbc4be
1 changed files with 1 additions and 1 deletions

View File

@ -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: