diff --git a/manimlib/animation/indication.py b/manimlib/animation/indication.py index 4078078b..6e95bb7c 100644 --- a/manimlib/animation/indication.py +++ b/manimlib/animation/indication.py @@ -258,6 +258,7 @@ class FlashAround(VShowPassingFlash): self, mobject: Mobject, time_width: float = 1.0, + taper_width: float = 0.0, stroke_width: float = 4.0, color: ManimColor = YELLOW, buff: float = SMALL_BUFF, @@ -270,7 +271,7 @@ class FlashAround(VShowPassingFlash): path.insert_n_curves(n_inserted_curves) path.set_points(path.get_points_without_null_curves()) path.set_stroke(color, stroke_width) - super().__init__(path, time_width=time_width, **kwargs) + super().__init__(path, time_width=time_width, taper_width=taper_width, **kwargs) def get_path(self, mobject: Mobject, buff: float) -> SurroundingRectangle: return SurroundingRectangle(mobject, buff=buff)