Fix wrong variable access
This commit is contained in:
parent
9a0d91afcd
commit
200f473747
|
@ -69,7 +69,7 @@ class FlexBox(Boxes):
|
||||||
self.corner(90)
|
self.corner(90)
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
self.radius = self.radius or min(x, y)/2.0
|
self.radius = self.radius or min(self.x, self.y)/2.0
|
||||||
self.c4 = c4 = math.pi * self.radius * 0.5
|
self.c4 = c4 = math.pi * self.radius * 0.5
|
||||||
self.latchsize = 8*self.thickness
|
self.latchsize = 8*self.thickness
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue