aboutsummaryrefslogtreecommitdiff
path: root/src/components/color.py
diff options
context:
space:
mode:
authortassaron2017-06-24 19:54:09 -0400
committertassaron2017-06-24 19:54:09 -0400
commit4d955c5a06d8d77c968f594a85b71b516919bcfb (patch)
treebd4497b3332f758da373393bfb58178f536b1b09 /src/components/color.py
parent83d55593d005cd540b042b27e6141a3d506d4215 (diff)
parent68ac0cf755c6c3dbcef4abbb934cd1ead2d713c5 (diff)
merged with feature-newgui
Diffstat (limited to 'src/components/color.py')
-rw-r--r--src/components/color.py3
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)