@teachinglab/omd 0.2.5 → 0.2.7

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.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "omd",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -131,7 +131,7 @@ export class omdMetaExpression extends jsvgGroup
131
131
  this.backRect.setOpacity(1.0);
132
132
  } else {
133
133
  // Reset to the default background state
134
- this.backRect.setFillColor(omdColor.lightGray);
134
+ this.backRect.setFillColor(this._backgroundStyle?.backgroundColor ?? omdColor.lightGray);
135
135
  if (!this.defaultOpaqueBack) {
136
136
  this.backRect.setOpacity(0.01);
137
137
  }