aboutsummaryrefslogtreecommitdiff
path: root/pixelcore/Pixel.py
diff options
context:
space:
mode:
Diffstat (limited to 'pixelcore/Pixel.py')
-rw-r--r--pixelcore/Pixel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pixelcore/Pixel.py b/pixelcore/Pixel.py
index cf5a328..308e7ea 100644
--- a/pixelcore/Pixel.py
+++ b/pixelcore/Pixel.py
@@ -66,6 +66,8 @@ class Pixel:
deadEvents.append(eventObj)
resultingColor = color.combineColors(colors)
+ #if colors:
+ # resultingColor = [c / len(colors) for c in resultingColor]
[self.events.remove(event) for event in deadEvents]
resultingColor = [int(round(c)) for c in resultingColor]
self.lastRender = tuple(resultingColor)