Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Forgot to propagate kwargs in Underline

Grant Sandersonc2838d78a2cf
diff --git a/manimlib/mobject/shape_matchers.py b/manimlib/mobject/shape_matchers.py
index b19f7a756..a6933f218 100644
--- a/manimlib/mobject/shape_matchers.py
+++ b/manimlib/mobject/shape_matchers.py
@@ -80,6 +80,6 @@ class Underline(Line):
}
def __init__(self, mobject, **kwargs):
- super().__init__(LEFT, RIGHT)
+ super().__init__(LEFT, RIGHT, **kwargs)
self.match_width(mobject)
self.next_to(mobject, DOWN, buff=self.buff)