mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-07-31 03:40:28 +02:00
Merge pull request #2631 from christian-classics-ethereal-library/squarePresentationLinear
Navigation Arrows: Fix visibility bug in linear navigation mode
This commit is contained in:
@@ -2735,6 +2735,11 @@ export default function( revealElement, options ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( horizontalSlides.length > 1 && config.navigationMode === 'linear' ) {
|
||||||
|
routes.right = routes.right || routes.down;
|
||||||
|
routes.left = routes.left || routes.up;
|
||||||
|
}
|
||||||
|
|
||||||
// Reverse horizontal controls for rtl
|
// Reverse horizontal controls for rtl
|
||||||
if( config.rtl ) {
|
if( config.rtl ) {
|
||||||
let left = routes.left;
|
let left = routes.left;
|
||||||
|
Reference in New Issue
Block a user