rectangularWall() fix positioning with ignore_widths
containing parts of the lower left corner.
This commit is contained in:
parent
3cad4f27af
commit
1bed3f2a39
|
@ -1301,7 +1301,10 @@ class Boxes:
|
||||||
if self.move(overallwidth, overallheight, move, before=True):
|
if self.move(overallwidth, overallheight, move, before=True):
|
||||||
return
|
return
|
||||||
|
|
||||||
self.moveTo(edges[-1].spacing(), edges[0].margin())
|
if 7 not in ignore_widths:
|
||||||
|
self.moveTo(edges[-1].spacing())
|
||||||
|
if 6 not in ignore_widths:
|
||||||
|
self.moveTo(0, edges[0].margin())
|
||||||
for i, l in enumerate((x, y, x, y)):
|
for i, l in enumerate((x, y, x, y)):
|
||||||
self.cc(callback, i, y=edges[i].startwidth() + self.burn)
|
self.cc(callback, i, y=edges[i].startwidth() + self.burn)
|
||||||
e1, e2 = edges[i], edges[i + 1]
|
e1, e2 = edges[i], edges[i + 1]
|
||||||
|
|
Loading…
Reference in New Issue