Replaced background_alpha with background_opacity

This commit is contained in:
Grant Sanderson
2018-05-10 19:55:06 -07:00
parent d36a68f756
commit 80176f0940
7 changed files with 16 additions and 15 deletions

View File

@ -1479,7 +1479,7 @@ class AskAboutLayers(PreviewMNistNetwork):
class BreakUpMacroPatterns(IntroduceEachLayer):
CONFIG = {
"camera_config" : {"background_alpha" : 255},
"camera_config" : {"background_opacity" : 1},
"prefixes" : [
"nine", "eight", "four",
"upper_loop", "right_line",
@ -1868,7 +1868,7 @@ class BreakUpMicroPatterns(BreakUpMacroPatterns):
class SecondLayerIsLittleEdgeLayer(IntroduceEachLayer):
CONFIG = {
"camera_config" : {
"background_alpha" : 255,
"background_opacity" : 1,
},
"network_mob_config" : {
"layer_to_layer_buff" : 2,
@ -2081,7 +2081,7 @@ class SecondLayerIsLittleEdgeLayer(IntroduceEachLayer):
class EdgeDetection(Scene):
CONFIG = {
"camera_config" : {"background_alpha" : 255}
"camera_config" : {"background_opacity" : 1}
}
def construct(self):
lion = ImageMobject("Lion")