mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Flash did not use stroke_width
This commit is contained in:
parent
2c80b6f62d
commit
5a780dfde3
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue