aboutsummaryrefslogtreecommitdiff
path: root/video_thread.py
diff options
context:
space:
mode:
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: