A community-maintained Python framework for creating mathematical animations.
Indexing of TexMobject should be no different from other Mobjects
Grant Sanderson8877a256f28d
diff --git a/manimlib/mobject/svg/tex_mobject.py b/manimlib/mobject/svg/tex_mobject.pyindex a69e677d4..3afd362eb 100644--- a/manimlib/mobject/svg/tex_mobject.py+++ b/manimlib/mobject/svg/tex_mobject.py@@ -235,14 +235,6 @@ class TexMobject(SingleStringTexMobject):key=lambda m: m.get_tex_string())- def split(self):- # Many old scenes assume that when you pass in a single string- # to TexMobject, it indexes across the characters.- if len(self.submobjects) == 1:- return self.submobjects[0].split()- else:- return super(TexMobject, self).split()-class TextMobject(TexMobject):CONFIG = {