diff options
| author | tassaron | 2017-06-15 22:15:03 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-15 22:15:03 -0400 |
| commit | c05efc73ee069fe2eb8776a27b503ada2adb4af6 (patch) | |
| tree | 33bb0fc36a3e6a730e51d52075d02814faebe40b /components/text.py | |
| parent | 8603fa12e3d63705e3cbc202bd0635e5ac977225 (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/text.py')
| -rw-r--r-- | components/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/text.py b/components/text.py index 165a093..f8ef7b3 100644 --- a/components/text.py +++ b/components/text.py @@ -126,7 +126,7 @@ class Component(__base__.Component): def addText(self, width, height): x, y = self.getXY() - im = Image.new("RGBA", (width, height), (0, 0, 0, 0)) + im = self.blankFrame(width, height) image = ImageQt(im) painter = QPainter(image) |
