fixup mirroring for subpatterns
This commit is contained in:
parent
4bc51f765f
commit
f3669f2dfd
3 changed files with 8 additions and 2 deletions
|
|
@ -181,6 +181,7 @@ class SubPattern:
|
|||
:return: self
|
||||
"""
|
||||
self.mirrored[axis] = not self.mirrored[axis]
|
||||
self.rotation *= -1
|
||||
return self
|
||||
|
||||
def get_bounds(self) -> numpy.ndarray or None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue