fixes titleColor default value

Co-authored-by: Pranav Mishra <mishrap@dickinson.edu>
This commit is contained in:
Shahir Ahmed
2025-01-31 17:57:25 -05:00
parent ffe1bb359f
commit d81ddf246c

View File

@@ -178,7 +178,7 @@ class Theme {
this.clusterBkg = this.secondBkg;
this.clusterBorder = this.border2;
this.defaultLinkColor = this.lineColor;
this.titleColor = this.titleColor || this.textColor;
this.titleColor = this.titleColor === 'calculated' ? this.textColor : this.titleColor;
this.edgeLabelBackground = this.labelBackground;
/* Sequence Diagram variables */