Skip to content

Commit 23a2df1

Browse files
authored
use the same opacity to init the super class obj of DecimalNumber (#4291)
1 parent 3377f6c commit 23a2df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/mobject/text/numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def __init__(
100100
fill_opacity: float = 1.0,
101101
**kwargs,
102102
):
103-
super().__init__(**kwargs, stroke_width=stroke_width)
103+
super().__init__(**kwargs, fill_opacity=fill_opacity, stroke_width=stroke_width)
104104
self.number = number
105105
self.num_decimal_places = num_decimal_places
106106
self.include_sign = include_sign

0 commit comments

Comments
 (0)