mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Make sure set_opacity changes background stroke as well
This commit is contained in:
parent
6214ea7a01
commit
542ddb9afd
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ class VMobject(Mobject):
|
|||
def set_opacity(self, opacity, family=True):
|
||||
self.set_fill(opacity=opacity, family=family)
|
||||
self.set_stroke(opacity=opacity, family=family)
|
||||
self.set_stroke(opacity=opacity, family=family, background=True)
|
||||
return self
|
||||
|
||||
def fade(self, darkness=0.5, family=True):
|
||||
|
|
Loading…
Add table
Reference in a new issue