mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Fix error rect
This commit is contained in:
parent
cfe70ca869
commit
11df256369
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class Scene(object):
|
|||
shell.showtraceback((etype, evalue, tb), tb_offset=tb_offset)
|
||||
if self.embed_error_sound:
|
||||
os.system("printf '\a'")
|
||||
rect = FullScreenRectangle().set_stroke(RED, 30).set_fill(opacity=0)
|
||||
rect = FullScreenRectangle().set_stroke(RED, 30, flat=True).set_fill(opacity=0)
|
||||
rect.fix_in_frame()
|
||||
self.play(VFadeInThenOut(rect, run_time=0.5))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue