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
|
||||
|
||||
self.edges["F"](y-r, False)
|
||||
if (x-2*r < 0.1):
|
||||
self.edges["X"](2*self.c4, h+2*self.thickness)
|
||||
if (x-2*r < self.thickness):
|
||||
self.edges["X"](2*self.c4+x-2*r, h+2*self.thickness)
|
||||
else:
|
||||
self.edges["X"](self.c4, h+2*self.thickness)
|
||||
self.edge(x-2*r)
|
||||
|
|
Loading…
Reference in New Issue