Skip to content

Commit 47d9130

Browse files
committed
Set proper connection*by type on init
1 parent 60d1d68 commit 47d9130

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Stop calling `camera.refresh()` as that is unnecessary since `v1.2.2`
66
- Avoid empty lasso events
7+
- Fix incorrectly initialized `pointConnectionColorBy`, `pointConnectionOpacityBy`, and `pointConnectionSizeBy`
78

89
## v0.16.1
910

src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,10 @@ const createScatterplot = (initialProperties = {}) => {
358358
opacityBy = getEncodingType(opacityBy);
359359
sizeBy = getEncodingType(sizeBy);
360360

361+
pointConnectionColorBy = getEncodingType(pointConnectionColorBy);
362+
pointConnectionOpacityBy = getEncodingType(pointConnectionOpacityBy);
363+
pointConnectionSizeBy = getEncodingType(pointConnectionSizeBy);
364+
361365
let stateTex; // Stores the point texture holding x, y, category, and value
362366
let prevStateTex; // Stores the previous point texture. Used for transitions
363367
let tmpStateTex; // Stores a temporary point texture. Used for transitions

0 commit comments

Comments
 (0)