Merge pull request #1251 from italosestilon/master

fix iteration through a dictionary
This commit is contained in:
鹤翔万里 2020-10-10 10:45:52 +08:00 committed by GitHub
commit 1ecbbbbcd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ class OpeningQuote(Scene):
if self.quote_arg_separator == " ":
quote[0].shift(0.2 * RIGHT)
quote[-1].shift(0.2 * LEFT)
for term, color in self.highlighted_quote_terms:
for term, color in self.highlighted_quote_terms.items():
quote.set_color_by_tex(term, color)
quote.to_edge(UP, buff=self.top_buff)
if quote.get_width() > max_width: