mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Indexing of TexMobject should be no different from other Mobjects
This commit is contained in:
parent
da134f7c0b
commit
8877a256f2
1 changed files with 0 additions and 8 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue