mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Replace all unbalanced \left \right text in TexMobject
This commit is contained in:
parent
1c71a00073
commit
76fc648615
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class SingleStringTexMobject(SVGMobject):
|
|||
should_replace = reduce(op.and_, [
|
||||
t1 in tex,
|
||||
t2 not in tex,
|
||||
len(tex) > len(t1) and tex[len(t1)] in "()[]<>|.\\"
|
||||
len(tex) > len(t1)
|
||||
])
|
||||
if should_replace:
|
||||
tex = tex.replace(t1, "\\big")
|
||||
|
|
Loading…
Add table
Reference in a new issue