diff options
| author | tassaron | 2017-08-26 21:23:44 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-26 21:23:44 -0400 |
| commit | 85d3b779d07ad92b0f540ea52185777c3c3f5e48 (patch) | |
| tree | dd193fb213412cf022a718848e90bbff671892e4 /src/components/color.py | |
| parent | 62e2ef18a3a31c15f88a96f07b2bc587808f5ad5 (diff) | |
fixed too-large Color sizes, fixed a redoing bug, rm pointless things
and now Ctrl+Alt+Shift+A gives a bunch of debug info
Diffstat (limited to 'src/components/color.py')
| -rw-r--r-- | src/components/color.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/color.py b/src/components/color.py index a55aa10..7d4f86d 100644 --- a/src/components/color.py +++ b/src/components/color.py @@ -102,7 +102,7 @@ class Component(Component): # Return a solid image at x, y if self.fillType == 0: frame = BlankFrame(width, height) - image = Image.new("RGBA", shapeSize, (r, g, b, 255)) + image = FloodFrame(self.sizeWidth, self.sizeHeight, (r, g, b, 255)) frame.paste(image, box=(self.x, self.y)) return frame |
