diff options
author | Zach DeCook <zdecook@ccel.org> | 2020-03-09 13:02:03 -0400 |
---|---|---|
committer | Zach DeCook <zdecook@ccel.org> | 2020-03-09 13:02:03 -0400 |
commit | 0e5a4478d1bb46b4ebe0421f3cffdf3d526c078a (patch) | |
tree | 32bb4bc8f6cbc8bf96c2cc2e1c78338d68138085 /js | |
parent | 6fa7700fe54d5fcf6fe3122896aaae9747b0eaf3 (diff) | |
download | fosdem-2021-minimalism-presentation-0e5a4478d1bb46b4ebe0421f3cffdf3d526c078a.tar fosdem-2021-minimalism-presentation-0e5a4478d1bb46b4ebe0421f3cffdf3d526c078a.tar.gz |
* Control Arrows: Fix visibility bug in linear navigation mode
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index ce3e8a1..dab040c 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; |