mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Update mobject.py
This commit is contained in:
parent
d1d099c0a2
commit
854ed3038e
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ class Mobject(Container):
|
|||
def add_background_rectangle(self, color=BLACK, opacity=0.75, **kwargs):
|
||||
# TODO, this does not behave well when the mobject has points,
|
||||
# since it gets displayed on top
|
||||
from mobject.shape_matchers import BackgroundRectangle
|
||||
from manimlib.mobject.shape_matchers import BackgroundRectangle
|
||||
self.background_rectangle = BackgroundRectangle(
|
||||
self, color=color,
|
||||
fill_opacity=opacity,
|
||||
|
|
Loading…
Add table
Reference in a new issue