From cf63dfddf90d9a1858996b92b5a71297450403d7 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 8 Apr 2021 14:14:32 -0700 Subject: [PATCH] Fix Lighthouse --- manimlib/once_useful_constructs/light.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manimlib/once_useful_constructs/light.py b/manimlib/once_useful_constructs/light.py index b10a8883..5ec132b9 100644 --- a/manimlib/once_useful_constructs/light.py +++ b/manimlib/once_useful_constructs/light.py @@ -74,12 +74,14 @@ class SwitchOff(LaggedStartMap): class Lighthouse(SVGMobject): CONFIG = { - "file_name": "lighthouse", "height": LIGHTHOUSE_HEIGHT, "fill_color": WHITE, "fill_opacity": 1.0, } + def __init__(self, **kwargs): + super().__init__("lighthouse", **kwargs) + def move_to(self, point): self.next_to(point, DOWN, buff=0)