diff options
| author | tassaron | 2017-06-24 19:54:09 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-24 19:54:09 -0400 |
| commit | 4d955c5a06d8d77c968f594a85b71b516919bcfb (patch) | |
| tree | bd4497b3332f758da373393bfb58178f536b1b09 /src/components/color.py | |
| parent | 83d55593d005cd540b042b27e6141a3d506d4215 (diff) | |
| parent | 68ac0cf755c6c3dbcef4abbb934cd1ead2d713c5 (diff) | |
merged with feature-newgui
Diffstat (limited to 'src/components/color.py')
| -rw-r--r-- | src/components/color.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/color.py b/src/components/color.py index 44ed82e..f1fb2b2 100644 --- a/src/components/color.py +++ b/src/components/color.py @@ -174,7 +174,8 @@ class Component(__base__.Component): painter.setBrush(brush) painter.drawRect( self.x, self.y, - self.sizeWidth, self.sizeHeight) + self.sizeWidth, self.sizeHeight + ) painter.end() imBytes = image.bits().asstring(image.numBytes()) return Image.frombytes('RGBA', (width, height), imBytes) |
