@itwin/core-common 5.7.0-dev.10 → 5.7.0-dev.11
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.
|
@@ -221,7 +221,7 @@ var ElementGeometry;
|
|
|
221
221
|
if (entry.text) {
|
|
222
222
|
result = this.appendTextString(new TextString_1.TextString(entry.text));
|
|
223
223
|
}
|
|
224
|
-
else if (entry.color) {
|
|
224
|
+
else if (undefined !== entry.color) {
|
|
225
225
|
const params = geomParams?.clone() ?? new GeometryParams_1.GeometryParams(core_bentley_1.Id64.invalid);
|
|
226
226
|
if (entry.color !== "subcategory") {
|
|
227
227
|
params.lineColor = ColorDef_1.ColorDef.fromJSON(entry.color);
|