Fix callback of rectangularWall. Do edge for width for previous edge first

This commit is contained in:
Florian Festi 2013-07-21 23:02:51 +02:00
parent 4954055de8
commit a58186f0f0
1 changed files with 1 additions and 1 deletions

View File

@ -896,8 +896,8 @@ class Boxes:
self.ctx.save()
self.moveTo(edges[-1].margin(), edges[0].margin())
for i, l in enumerate((x, y, x, y)):
self.cc(callback, i)
self.edge(edges[i-1].width())
self.cc(callback, i)
edges[i](l,
bedBolts=self.getEntry(bedBolts, i),
bedBoltSettings=self.getEntry(bedBoltSettings, i))