Fix VideoIcon

This commit is contained in:
Grant Sanderson
2021-10-24 09:28:52 -07:00
parent 82fa6ab125
commit deb1311e48

View File

@ -200,12 +200,11 @@ class Laptop(VGroup):
class VideoIcon(SVGMobject):
CONFIG = {
"file_name": "video_icon",
"width": FRAME_WIDTH / 12.,
}
def __init__(self, **kwargs):
SVGMobject.__init__(self, **kwargs)
super().__init__(file_name="video_icon", **kwargs)
self.center()
self.set_width(self.width)
self.set_stroke(color=WHITE, width=0)