Skip to content

Commit fd89b79

Browse files
Merge remote-tracking branch 'origin/MAGETWO-94462' into 2.2-develop-pr4
2 parents 02d1e1b + c253334 commit fd89b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ fotoramaVersion = '4.6.4';
25622562
thisData.t > rightLimit : thisData.l > rightLimit;
25632563
specialMeasures.w = thisData.w;
25642564

2565-
if (thisData.l + thisData.w < leftLimit
2565+
if ((opts.navdir !== 'vertical' && thisData.l + thisData.w < leftLimit)
25662566
|| exceedLimit
25672567
|| callFit(thisData.$img, specialMeasures)) return;
25682568

0 commit comments

Comments
 (0)