Browse Source

* Linear Navigation: Fix showing arrows when last slide has vertical children

Zach DeCook 5 years ago
parent
commit
c62f4c7cfb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      js/reveal.js

+ 5 - 0
js/reveal.js

@@ -3951,6 +3951,11 @@
 			}
 		}
 
+		if( 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;