Skip to content

fix(text): set color on Text when passed to constructor#4844

Open
Chessing234 wants to merge 1 commit into
ManimCommunity:mainfrom
Chessing234:fix/4817-text-constructor-color
Open

fix(text): set color on Text when passed to constructor#4844
Chessing234 wants to merge 1 commit into
ManimCommunity:mainfrom
Chessing234:fix/4817-text-constructor-color

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • Text(..., color=...) now updates the mobject color so get_color() matches the glyphs

Fixes #4817

Test plan

  • pytest tests/test_graphical_units/test_text.py::test_text_constructor_color -o addopts=\"\"

Made with Cursor

Fixes ManimCommunity#4817

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text color attribute ignored on constructions

1 participant