Skip to content

Commit 5c2f23c

Browse files
Merge branch 'MAGETWO-94990' into 2.3-develop-pr9
2 parents d870df6 + 732538b commit 5c2f23c

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
@@ -2568,7 +2568,7 @@ fotoramaVersion = '4.6.4';
25682568
thisData.t > rightLimit : thisData.l > rightLimit;
25692569
specialMeasures.w = thisData.w;
25702570

2571-
if (thisData.l + thisData.w < leftLimit
2571+
if ((opts.navdir !== 'vertical' && thisData.l + thisData.w < leftLimit)
25722572
|| exceedLimit
25732573
|| callFit(thisData.$img, specialMeasures)) return;
25742574

0 commit comments

Comments
 (0)