Fix bug losing transitions

This commit is contained in:
Tim Bentley 2010-08-27 19:28:19 +01:00
parent 3c637f6c2d
commit a4f1b29cca
2 changed files with 2 additions and 3 deletions

View File

@ -312,7 +312,8 @@ def build_html(item, screen, alert):
build_alert(alert, width),
build_footer(item),
build_lyrics(item),
u'true' if theme and theme.display_slideTransition else u'false',
u'true' if theme and theme.display_slideTransition \
else u'false',
image)
return html

View File

@ -192,8 +192,6 @@ class RenderManager(object):
footer.append(u'Amazing Grace (John Newton)' )
footer.append(u'Public Domain')
footer.append(u'CCLI 123456')
# Previews do not need the transition switched on!
themedata.display_slideTransition = False
# build a service item to generate preview
serviceItem = ServiceItem()
serviceItem.theme = themedata