aboutsummaryrefslogtreecommitdiff
path: root/video_thread.py
diff options
context:
space:
mode:
authortassaron2017-06-03 21:01:18 -0400
committertassaron2017-06-03 21:01:18 -0400
commit5480b20d407805125f2c26acba06faec5a7a9c7c (patch)
treec492ec08bfeb9854dab8c4cf9dbda571418df97e /video_thread.py
parent825b7af6e30deaf85646ce93507d8cb5a0b426ae (diff)
parent5b78a26d8069e48ad5ba88f457b563620be72173 (diff)
Merge branch 'feature-newgui' of https://github.com/IamDH4/audio-visualizer-python into component-backgrounds
Diffstat (limited to 'video_thread.py')
-rw-r--r--video_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/video_thread.py b/video_thread.py
index 0d42406..c97cc24 100644
--- a/video_thread.py
+++ b/video_thread.py
@@ -43,7 +43,7 @@ class Worker(QtCore.QObject):
else:
frame = self.getBackgroundAtIndex(i[1])
- for compNo, comp in enumerate(self.components):
+ for compNo, comp in reversed(list(enumerate(self.components))):
if compNo in self.staticComponents and self.staticComponents[compNo] != None:
frame = Image.alpha_composite(frame, self.staticComponents[compNo])
else: