Fix Boxes.hole()
This commit is contained in:
parent
b59b71fab0
commit
15cbc7d285
|
@ -631,9 +631,9 @@ class Boxes:
|
|||
:param r: radius
|
||||
|
||||
"""
|
||||
radius -= self.burn
|
||||
if radius < 0:
|
||||
radius = 1E-9
|
||||
r -= self.burn
|
||||
if r < 0:
|
||||
r = 1E-9
|
||||
self.moveTo(x+r, y)
|
||||
self.ctx.arc(-r, 0, r, 0, 2*math.pi)
|
||||
|
||||
|
|
Loading…
Reference in New Issue