Merge pull request #1419 from JWro/patch-1

Fix init of Elbow super class
This commit is contained in:
Grant Sanderson
2021-04-08 14:22:47 -07:00
committed by GitHub

View File

@ -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)