We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
panZoom
1 parent 5354c34 commit 0cbaac5Copy full SHA for 0cbaac5
2 files changed
CHANGELOG.md
@@ -5,6 +5,7 @@
5
- Add two events: `init` and `destroy`
6
- Add `lassoLineWidth` to allow adjusting the lasso line width
7
- Fix an issue with normalizing RGBA values
8
+- Fix a camera issue when lassoing in non-`panZoom` mouse mode
9
10
## v0.18.1
11
src/index.js
@@ -684,7 +684,7 @@ const createScatterplot = (initialProperties = {}) => {
684
};
685
686
const lassoEnd = (lassoPoints, lassoPointsFlat, { merge = false } = {}) => {
687
- if (mouseMode === MOUSE_MODE_PANZOOM) camera.config({ isFixed: false });
+ camera.config({ isFixed: false });
688
lassoPointsCurr = [...lassoPoints];
689
// const t0 = performance.now();
690
const pointsInLasso = findPointsInLasso(lassoPointsFlat);
0 commit comments