@itwin/core-common 5.7.0-dev.10 → 5.7.0-dev.12

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.
@@ -218,7 +218,7 @@ export var ElementGeometry;
218
218
  if (entry.text) {
219
219
  result = this.appendTextString(new TextString(entry.text));
220
220
  }
221
- else if (entry.color) {
221
+ else if (undefined !== entry.color) {
222
222
  const params = geomParams?.clone() ?? new GeometryParams(Id64.invalid);
223
223
  if (entry.color !== "subcategory") {
224
224
  params.lineColor = ColorDef.fromJSON(entry.color);