mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 22:57:44 +00:00
Fix TexText bug
This commit is contained in:
parent
b2fd22c539
commit
a53867d8a1
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ class Tex(SingleStringTex):
|
|||
tex_string = tex_string.strip()
|
||||
if len(tex_string) == 0:
|
||||
continue
|
||||
sub_tex_mob = SingleStringTex(tex_string)
|
||||
sub_tex_mob = SingleStringTex(tex_string, math_mode=self.math_mode)
|
||||
num_submobs = len(sub_tex_mob)
|
||||
if num_submobs == 0:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue