aboutsummaryrefslogtreecommitdiff
path: root/components/color.py
diff options
context:
space:
mode:
authortassaron2017-06-15 22:15:03 -0400
committertassaron2017-06-15 22:15:03 -0400
commitc05efc73ee069fe2eb8776a27b503ada2adb4af6 (patch)
tree33bb0fc36a3e6a730e51d52075d02814faebe40b /components/color.py
parent8603fa12e3d63705e3cbc202bd0635e5ac977225 (diff)
various bugfixes, blankFrame method for components
don't crash from broken project files or nonexistent videopaths, and shareable common paths in core.py
Diffstat (limited to 'components/color.py')
-rw-r--r--components/color.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/color.py b/components/color.py
index 5912bfa..36f3906 100644
--- a/components/color.py
+++ b/components/color.py
@@ -71,7 +71,7 @@ class Component(__base__.Component):
def drawFrame(self, width, height):
r, g, b = self.color1
- return Image.new("RGBA", (width, height), (r, g, b, 255))
+ return self.blankFrame(width, height)
def loadPreset(self, pr, presetName=None):
super().loadPreset(pr, presetName)