mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fixed missing arg in self.get_parts_by_text
This commit is contained in:
parent
2a1b023442
commit
fd18e4a21f
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ class Text(SVGMobject):
|
|||
for i, j in self.find_indexes(word)
|
||||
))
|
||||
|
||||
def get_part_by_text(word):
|
||||
parts = self.get_parts_by_text()
|
||||
def get_part_by_text(self, word):
|
||||
parts = self.get_parts_by_text(word)
|
||||
if len(parts) > 0:
|
||||
return parts[0]
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue