From dbfd3f0c157da57321b88a924b7ea95a13c7a951 Mon Sep 17 00:00:00 2001 From: basta Date: Thu, 26 Sep 2024 15:47:58 -0400 Subject: [PATCH 1/2] add pointScaleMode: proportional scales points proportional to zoom, constant keeps point size constant, default keeps the current smart scaling strategy --- example/index.js | 2 +- public/index.html | 1 + src/constants.js | 1 + src/index.js | 25 ++++++++++++++++++------- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/example/index.js b/example/index.js index 50dd35c..6c667f1 100644 --- a/example/index.js +++ b/example/index.js @@ -77,7 +77,7 @@ const scatterplot = createScatterplot({ pointSize, showReticle, reticleColor, - lassoInitiator: true, + lassoInitiator: true }); checkSupport(scatterplot); diff --git a/public/index.html b/public/index.html index 59e754b..daa4ff3 100644 --- a/public/index.html +++ b/public/index.html @@ -502,6 +502,7 @@ +
test