Fix error in flex which omitted the upper connection
This commit is contained in:
parent
17140eafba
commit
849abbc4be
2
boxes.py
2
boxes.py
|
@ -286,7 +286,7 @@ class Boxes:
|
||||||
self.ctx.move_to(pos, (2*j+1)* sheight+ (2*j+2)*connection)
|
self.ctx.move_to(pos, (2*j+1)* sheight+ (2*j+2)*connection)
|
||||||
self.ctx.line_to(pos, (2*j+3)* (sheight+ connection))
|
self.ctx.line_to(pos, (2*j+3)* (sheight+ connection))
|
||||||
if not sections % 2:
|
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)
|
self.ctx.line_to(pos, h)
|
||||||
else:
|
else:
|
||||||
if sections % 2:
|
if sections % 2:
|
||||||
|
|
Loading…
Reference in New Issue