add back override parameter to init_colors

This commit is contained in:
鹤翔万里 2022-01-28 00:20:13 +08:00 committed by GitHub
parent 277256a407
commit 2bd25a55fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,8 +109,8 @@ class Mobject(object):
"reflectiveness": self.reflectiveness, "reflectiveness": self.reflectiveness,
} }
def init_colors(self): def init_colors(self, override=True):
self.set_color(self.color, self.opacity) self.set_color(self.color, self.opacity, override)
def init_points(self): def init_points(self):
# Typically implemented in subclass, unlpess purposefully left blank # Typically implemented in subclass, unlpess purposefully left blank