diff options
| author | tassaron | 2017-07-02 21:38:19 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-02 21:38:19 -0400 |
| commit | 3a6d7ae421ad2b650cac7f17d43be313787f0e61 (patch) | |
| tree | 1788ad881bb621d6d3bc2962d3d8b65e9f952522 /src/components/image.py | |
| parent | 0da275bf1b1dd2c956fed9d4a1051dcf3365c382 (diff) | |
frame-drawing tools for components to share
Diffstat (limited to 'src/components/image.py')
| -rw-r--r-- | src/components/image.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/image.py b/src/components/image.py index ba99113..1aae51b 100644 --- a/src/components/image.py +++ b/src/components/image.py @@ -3,6 +3,7 @@ from PyQt5 import QtGui, QtCore, QtWidgets import os from component import Component +from frame import BlankFrame class Component(Component): @@ -53,7 +54,7 @@ class Component(Component): return self.drawFrame(width, height) def drawFrame(self, width, height): - frame = self.blankFrame(width, height) + frame = BlankFrame(width, height) if self.imagePath and os.path.exists(self.imagePath): image = Image.open(self.imagePath) if self.stretched and image.size != (width, height): |
