From 31d8ad027bb9948db2d0e2986023419ed6c74951 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 17 Aug 2023 15:25:41 +0800 Subject: [PATCH] nope --- stockTicker.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/stockTicker.py b/stockTicker.py index 1c1c305..a2c9558 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -380,20 +380,11 @@ class StockTicker(): img_width, img_height = image.size offset_x = 0 + if animation == 'continuous': - if options[i % len(options)] == 'r/place (Reddit)': - offset_x = 213 - else: - offset_x = 128 + offset_x = 128 elif animation in ['up', 'down']: - if options[i % len(options)] == 'r/place (Reddit)': - offset_x = max(0, 213-img_width) - else: - offset_x = max(0, 128-img_width) - # if animation == 'continuous': - # offset_x = 128 - # elif animation in ['up', 'down']: - # offset_x = max(0, 128-img_width) + offset_x = max(0, 128-img_width) offset_y = 0 #first scroll image in from bottom