[Text] use translate instead of offset
This commit is contained in:
parent
19fac463e4
commit
51ced2fe83
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ class Text(PositionableImpl, RotatableImpl, Shape):
|
||||||
if self.mirrored:
|
if self.mirrored:
|
||||||
poly.mirror()
|
poly.mirror()
|
||||||
poly.scale_by(self.height)
|
poly.scale_by(self.height)
|
||||||
poly.offset = self.offset + [total_advance, 0]
|
poly.translate(self.offset + [total_advance, 0])
|
||||||
poly.rotate_around(self.offset, self.rotation)
|
poly.rotate_around(self.offset, self.rotation)
|
||||||
all_polygons += [poly]
|
all_polygons += [poly]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue