From 0e5a4478d1bb46b4ebe0421f3cffdf3d526c078a Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Mon, 9 Mar 2020 13:02:03 -0400 Subject: [PATCH] * Control Arrows: Fix visibility bug in linear navigation mode --- js/reveal.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/reveal.js b/js/reveal.js index ce3e8a1c..dab040ca 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -4555,6 +4555,11 @@ } } + if ( horizontalSlides.length > 1 && config.navigationMode === 'linear' ) { + routes.right = routes.right || routes.down; + routes.left = routes.left || routes.up; + } + // Reverse horizontal controls for rtl if( config.rtl ) { var left = routes.left;