Skip to content

Commit 7d7395f

Browse files
committed
Bugfix: Added missing backgroundColor for default case.
1 parent 09f58fb commit 7d7395f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/Edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class Edge extends BaseElement {
9090
jsStringProperties.push(`backgroundColor: '${this.convertColorValue(this.categoryRef.background)}', backgroundOpacity: 1`);
9191
}
9292
else {
93-
jsStringProperties.push(`backgroundColor: '', backgroundOpacity: 0`);
93+
jsStringProperties.push(`backgroundColor: 'rgba(0, 0, 0, 0)', backgroundOpacity: 0`);
9494
}
9595
}
9696
if (this.categoryRef !== undefined && this.categoryRef.stroke !== undefined) {

0 commit comments

Comments
 (0)