Fix Pattern.scale_by() for labels
Label offsets weren't being scaled.
This commit is contained in:
parent
4bd5542ce9
commit
a6a3ae797c
@ -384,6 +384,8 @@ class Pattern:
|
||||
for entry in self.shapes + self.subpatterns:
|
||||
entry.offset *= c
|
||||
entry.scale_by(c)
|
||||
for entry in self.labels:
|
||||
entry.offset *= c
|
||||
return self
|
||||
|
||||
def rotate_around(self, pivot: vector2, rotation: float) -> 'Pattern':
|
||||
|
Loading…
Reference in New Issue
Block a user