Fix problem with slide controller

soften the renderer transition
This commit is contained in:
Tim Bentley 2009-11-30 19:51:29 +00:00
parent 6380cc5126
commit 9f80c5a742
2 changed files with 4 additions and 4 deletions

View File

@ -577,7 +577,7 @@ class Renderer(object):
painter = QtGui.QPainter()
painter.begin(self._frameOp)
painter.setRenderHint(QtGui.QPainter.Antialiasing);
painter.setOpacity(0.5)
painter.setOpacity(0.7)
painter.setFont(font)
if color is None:
if footer:

View File

@ -556,7 +556,7 @@ class SlideController(QtGui.QWidget):
"""
Go to the next slide.
"""
if self.serviceItem and self.serviceItem.is_command():
if self.serviceItem.is_command():
Receiver.send_message(u'%s_next'% self.serviceItem.name.lower())
self.updatePreview()
else:
@ -570,7 +570,7 @@ class SlideController(QtGui.QWidget):
"""
Go to the previous slide.
"""
if self.serviceItem and self.serviceItem.is_command():
if self.serviceItem.is_command():
Receiver.send_message(
u'%s_previous'% self.serviceItem.name.lower())
self.updatePreview()
@ -585,7 +585,7 @@ class SlideController(QtGui.QWidget):
"""
Go to the last slide.
"""
if self.serviceItem and self.serviceItem.is_command():
if self.serviceItem.is_command():
Receiver.send_message(u'%s_last'% self.serviceItem.name.lower())
self.updatePreview()
else: