@@ -50,6 +50,11 @@ export class SImageLegendItem extends SIconTextItem {
return
}
this._maskFlag = v;
+ if (v) {
+ this.textItem.visible = false;
+ } else {
+ this.textItem.visible = true;
+ }
this.update()