We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fead90 + 603b8fe commit 048f981Copy full SHA for 048f981
src/plots/gl2d/scene2d.js
@@ -293,7 +293,7 @@ proto.cameraChanged = function() {
293
proto.destroy = function() {
294
this.glplot.dispose();
295
296
- this.container.removeChild(this.canvas);
+ if(!this.staticPlot) this.container.removeChild(this.canvas);
297
this.container.removeChild(this.svgContainer);
298
this.container.removeChild(this.mouseContainer);
299
0 commit comments