Fix offset for callbacks of rectangularWall

This commit is contained in:
Florian Festi 2013-08-31 20:06:30 +02:00
parent a2870f0f29
commit b42d31ed71
1 changed files with 1 additions and 1 deletions

View File

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