compensate for feature title of r/place
This commit is contained in:
parent
dda056c8eb
commit
7104aec3d1
@ -381,9 +381,19 @@ class StockTicker():
|
|||||||
|
|
||||||
offset_x = 0
|
offset_x = 0
|
||||||
if animation == 'continuous':
|
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']:
|
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)
|
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_y = 0
|
offset_y = 0
|
||||||
#first scroll image in from bottom
|
#first scroll image in from bottom
|
||||||
|
Loading…
Reference in New Issue
Block a user