Fix init of Elbow super class

This commit is contained in:
JWro
2021-02-26 10:46:19 +01:00
committed by GitHub
parent 531a031b50
commit 63b497c352

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)