summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):
name = node['name']
duration = node.get('duration', DEFAULT_TRANSITION_DURATION)
self.transition = self._make_transition(name, duration)
+ if not self.slide:
+ self.default_transition = self.transition
def depart_transition(self, node):
pass