Skip to content

Commit 4d891b3

Browse files
committed
ensure ranges stay in bound after setting in dragAxList
1 parent 16a8213 commit 4d891b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plots/cartesian/dragbox.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,8 @@ function dragAxList(axList, pix) {
11201120
axi.l2r(axi._rl[1] - pix / axi._m)
11211121
];
11221122
}
1123+
1124+
if(axi.limitRange) axi.limitRange();
11231125
}
11241126
}
11251127
}

0 commit comments

Comments
 (0)