summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-08-14 04:29:52 -0700
committerJames E. Blair <corvus@gnu.org>2015-08-14 07:59:10 -0700
commit3464cff661956077c103750fbf6ac7ad6b3cef78 (patch)
treea900f8fc41b9476fb1002f872798d0e72887df96
parentc670c45397e60cffaf4daa581cfdca5a637758c7 (diff)
Fix setting of default transition
-rw-r--r--presentty/rst.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/presentty/rst.py b/presentty/rst.py
index ab06f76..8368a6a 100644
--- a/presentty/rst.py
+++ b/presentty/rst.py
@@ -123,6 +123,8 @@ class UrwidTranslator(docutils.nodes.GenericNodeVisitor):
123 name = node['name'] 123 name = node['name']
124 duration = node.get('duration', DEFAULT_TRANSITION_DURATION) 124 duration = node.get('duration', DEFAULT_TRANSITION_DURATION)
125 self.transition = self._make_transition(name, duration) 125 self.transition = self._make_transition(name, duration)
126 if not self.slide:
127 self.default_transition = self.transition
126 128
127 def depart_transition(self, node): 129 def depart_transition(self, node):
128 pass 130 pass