Fix wrong variable access

This commit is contained in:
Florian Festi 2016-06-22 10:21:46 +02:00
parent 9a0d91afcd
commit 200f473747
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class FlexBox(Boxes):
self.corner(90)
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.latchsize = 8*self.thickness