* Control Arrows: Fix visibility bug in linear navigation mode

edit
Zach DeCook 2020-03-09 13:02:03 -04:00
parent 6fa7700fe5
commit 0e5a4478d1
1 changed files with 5 additions and 0 deletions

View File

@ -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 // Reverse horizontal controls for rtl
if( config.rtl ) { if( config.rtl ) {
var left = routes.left; var left = routes.left;