Use rectangularHole for FingerHoles

This commit is contained in:
Florian Festi 2016-06-21 11:25:17 +02:00
parent 6688957a72
commit 142469cc47
1 changed files with 2 additions and 2 deletions

View File

@ -432,8 +432,8 @@ class FingerHoles:
pos = leftover/2.0+i*(s+f)
if bedBolts and bedBolts.drawBolt(i):
self.boxes.hole(pos+0.5*s, 0, d*0.5)
self.ctx.rectangle(pos+s+b, -self.settings.width/2+b,
f-2*b, self.settings.width - 2*b)
self.boxes.rectangularHole(pos+s+0.5*f, 0,
f, self.settings.width)
self.ctx.restore()