From 3464cff661956077c103750fbf6ac7ad6b3cef78 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 14 Aug 2015 04:29:52 -0700 Subject: Fix setting of default transition --- presentty/rst.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3