Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Add color to dots (#1787)

Mohammad Al-Fetyani5a4a1d2fa973
diff --git a/manim/mobject/numbers.py b/manim/mobject/numbers.py
index 54b0e0ad4..fdcd378cf 100644
--- a/manim/mobject/numbers.py
+++ b/manim/mobject/numbers.py
@@ -99,7 +99,7 @@ class DecimalNumber(VMobject, metaclass=ConvertToOpenGL):
# Add non-numerical bits
if self.show_ellipsis:
- self.add(SingleStringMathTex("\\dots"))
+ self.add(SingleStringMathTex("\\dots", color=self.color))
if num_string.startswith("-"):
minus = self.submobjects[0]