flexbox4: Be more generous when merging flex on top
This commit is contained in:
parent
ea6f45a24b
commit
281c80b4e9
|
@ -47,8 +47,8 @@ class FlexBox(Boxes):
|
||||||
x, y, h, r = self.x, self.y, self.h, self.radius
|
x, y, h, r = self.x, self.y, self.h, self.radius
|
||||||
|
|
||||||
self.edges["F"](y-r, False)
|
self.edges["F"](y-r, False)
|
||||||
if (x-2*r < 0.1):
|
if (x-2*r < self.thickness):
|
||||||
self.edges["X"](2*self.c4, h+2*self.thickness)
|
self.edges["X"](2*self.c4+x-2*r, h+2*self.thickness)
|
||||||
else:
|
else:
|
||||||
self.edges["X"](self.c4, h+2*self.thickness)
|
self.edges["X"](self.c4, h+2*self.thickness)
|
||||||
self.edge(x-2*r)
|
self.edge(x-2*r)
|
||||||
|
|
Loading…
Reference in New Issue