|
@@ -57,6 +57,9 @@ export class SImageLegendItem extends SIconTextItem {
|
|
|
if (data.Properties && data.Properties.IsActive) {
|
|
|
this.isActive = data.Properties.IsActive;
|
|
|
}
|
|
|
+ if (data.AttachObjectIds && data.AttachObjectIds.length) {
|
|
|
+ this.isActive = true;
|
|
|
+ }
|
|
|
if (data.Properties && data.Properties.FrameColor) {
|
|
|
this.activeColor = new SColor(data.Properties.FrameColor);
|
|
|
}
|