Skip to content

Commit 09b5d0c

Browse files
committed
no shift when zero
1 parent bab8020 commit 09b5d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/plots.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ function needsRedrawForShift(gd) {
19611961
}
19621962
var axList = axisIDs.list(gd, '', true);
19631963
for(var ax in axList) {
1964-
if(axList[ax].autoshift || axList[ax].shift !== undefined) return true;
1964+
if(axList[ax].autoshift || axList[ax].shift) return true;
19651965
}
19661966
return false;
19671967
}

0 commit comments

Comments
 (0)