mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Merge pull request #1419 from JWro/patch-1
Fix init of Elbow super class
This commit is contained in:
commit
22d9c57f60
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