mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 12:32:36 +08:00
Fix init of Elbow super class
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user