Skip to content

Commit 24b4fb5

Browse files
committed
Fix angularaxis check in setOffsetAndWidth
1 parent ed7d541 commit 24b4fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/bar/cross_trace_calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function setOffsetAndWidth(gd, pa, sieve, opts) {
367367
setBarCenterAndWidth(pa, sieve);
368368

369369
// update position axes
370-
if(pa._id !== 'angularaxis') {
370+
if(pa._id === 'angularaxis') {
371371
updatePositionAxis(pa, sieve);
372372
} else {
373373
updatePositionAxis(pa, sieve, overlap);

0 commit comments

Comments
 (0)