Skip to content

Commit

Permalink
Fix typo (3b1b#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
YishiMichael authored Apr 5, 2022
1 parent 648855d commit b764791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manimlib/mobject/svg/text_mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def find_substr_or_span(
self, substr_or_span: str | tuple[int | None, int | None]
) -> list[Span]:
if isinstance(substr_or_span, str):
return self.find_substr(substr)
return self.find_substr(substr_or_span)

string_len = len(self.string)
span_begin, span_end = substr_or_span
Expand Down

0 comments on commit b764791

Please sign in to comment.