* Control Arrows: Fix visibility bug in linear navigation mode

This commit is contained in:
Zach DeCook 2020-03-09 13:02:03 -04:00
parent 6fa7700fe5
commit 0e5a4478d1

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
if( config.rtl ) {
var left = routes.left;