@teachinglab/omd 0.7.32 → 0.7.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teachinglab/omd",
3
- "version": "0.7.32",
3
+ "version": "0.7.33",
4
4
  "description": "omd",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -92,7 +92,7 @@ export class omdCoordinatePlane extends jsvgGroup {
92
92
  this.backgroundCornerRadius = (data.backgroundCornerRadius !== undefined) ? data.backgroundCornerRadius : this.backgroundCornerRadius;
93
93
  this.backgroundOpacity = (data.backgroundOpacity !== undefined) ? data.backgroundOpacity : this.backgroundOpacity;
94
94
  this.showBackground = (data.showBackground !== undefined) ? data.showBackground : this.showBackground;
95
- this.interactive = data.interactive === true;
95
+ this.interactive = data.interactive === true || data.interactive === "true";
96
96
  this.variables = this.normalizeInteractiveVariables(
97
97
  data.variables || data.interactiveVariables || []
98
98
  );
@@ -167,7 +167,7 @@ export class omdCoordinatePlane extends jsvgGroup {
167
167
 
168
168
  this.sliderControlRows = [];
169
169
  if (this.shouldShowInteractiveControls()) {
170
- this.createInteractiveControls(contentGroup.svgObject);
170
+ this.createInteractiveControls(this.svgObject);
171
171
  }
172
172
  }
173
173