mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 12:07:45 +00:00
Use preferred group type for FadeTransform
This commit is contained in:
parent
9a7bfdd1c9
commit
bd2947be28
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class FadeTransform(Transform):
|
|||
self.dim_to_match = dim_to_match
|
||||
|
||||
mobject.save_state()
|
||||
super().__init__(Group(mobject, target_mobject.copy()), **kwargs)
|
||||
super().__init__(mobject.get_group_class()(mobject, target_mobject.copy()), **kwargs)
|
||||
|
||||
def begin(self) -> None:
|
||||
self.ending_mobject = self.mobject.copy()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue