Unverified Commit 5d179ed4 authored by Hakim El Hattab's avatar Hakim El Hattab Committed by GitHub
Browse files

Merge pull request #2631 from christian-classics-ethereal-library/squarePresentationLinear

Navigation Arrows: Fix visibility bug in linear navigation mode
parents 7d489995 0e5a4478
......@@ -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
if( config.rtl ) {
let left = routes.left;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment