From 5a780dfde3eea1f03d8cf8adccf43bfac0f70eaa Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 7 Mar 2020 20:53:48 -0800 Subject: [PATCH] Flash did not use stroke_width --- manimlib/animation/indication.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manimlib/animation/indication.py b/manimlib/animation/indication.py index 268ad5f4..62026e63 100644 --- a/manimlib/animation/indication.py +++ b/manimlib/animation/indication.py @@ -94,8 +94,10 @@ class Flash(AnimationGroup): line.shift((self.flash_radius - self.line_length) * RIGHT) line.rotate(angle, about_point=ORIGIN) lines.add(line) - lines.set_color(self.color) - lines.set_stroke(width=3) + lines.set_stroke( + color=self.color, + width=self.line_stroke_width + ) lines.add_updater(lambda l: l.move_to(self.point)) return lines