mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Fix logo .set deprecated usage
This commit is contained in:
parent
95f97b7dc6
commit
df97462ca4
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ class ManimBanner(VGroup):
|
|||
self.scale_factor = 1
|
||||
|
||||
self.M = VMobjectFromSVGPath(MANIM_SVG_PATHS[0]).flip(cst.RIGHT).center()
|
||||
self.M.set(stroke_width=0).scale(
|
||||
self.M.set_stroke(width=0).scale(
|
||||
7 * cst.DEFAULT_FONT_SIZE * cst.SCALE_FACTOR_PER_FONT_POINT
|
||||
)
|
||||
self.M.set_fill(color=self.font_color, opacity=1).shift(
|
||||
|
|
@ -166,7 +166,7 @@ class ManimBanner(VGroup):
|
|||
anim = VGroup()
|
||||
for ind, path in enumerate(MANIM_SVG_PATHS[1:]):
|
||||
tex = VMobjectFromSVGPath(path).flip(cst.RIGHT).center()
|
||||
tex.set(stroke_width=0).scale(
|
||||
tex.set_stroke(width=0).scale(
|
||||
cst.DEFAULT_FONT_SIZE * cst.SCALE_FACTOR_PER_FONT_POINT
|
||||
)
|
||||
if ind > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue