Closed flekschas closed 1 year ago
This PR supersedes https://github.com/flekschas/regl-scatterplot/pull/124 by adding the necessary changes to make the test pass.
What was changed in this pull request?
Throw an error when zoomToPoints() is called before points have been drawn. Expose isDestroyed and isPointsDrawn via get().
zoomToPoints()
isDestroyed
isPointsDrawn
get()
Why is it necessary?
Fixes #123
This PR supersedes https://github.com/flekschas/regl-scatterplot/pull/124 by adding the necessary changes to make the test pass.
Description
Throw an error when
zoomToPoints()
is called before points have been drawn. ExposeisDestroyed
andisPointsDrawn
viaget()
.Fixes #123
Checklist