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.
1 parent 8c0a11e commit 194308aCopy full SHA for 194308a
js/widget.ts
@@ -453,9 +453,6 @@ export default {
453
// Load initial volumes and meshes
454
await render_volumes(nv, model, disposer);
455
await render_meshes(nv, model, disposer);
456
-
457
- // Drawing setup
458
- //nv.createEmptyDrawing();
459
} else {
460
console.log("moving render around");
461
@@ -468,6 +465,9 @@ export default {
468
465
el.appendChild(nv.canvas.parentNode);
469
466
}
470
467
+ // Drawing setup
+ nv.setDrawingEnabled(nv.opts.drawingEnabled);
+
471
// Return cleanup function, runs when page reloaded or cell run again
472
return () => {
473
// only want to run disposer when nv widget is removed, not when it is re-displayed
0 commit comments