mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix init of Elbow super class
This commit is contained in:
parent
531a031b50
commit
63b497c352
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ class Elbow(VMobject):
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
super().__init__(self, **kwargs)
|
super().__init__(**kwargs)
|
||||||
self.set_points_as_corners([UP, UP + RIGHT, RIGHT])
|
self.set_points_as_corners([UP, UP + RIGHT, RIGHT])
|
||||||
self.set_width(self.width, about_point=ORIGIN)
|
self.set_width(self.width, about_point=ORIGIN)
|
||||||
self.rotate(self.angle, about_point=ORIGIN)
|
self.rotate(self.angle, about_point=ORIGIN)
|
||||||
|
|
Loading…
Add table
Reference in a new issue