mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix image topic visibility issue when shape is defined.
This commit is contained in:
parent
eb890b4b4f
commit
f95aef2ce6
@ -1012,6 +1012,10 @@ abstract class Topic extends NodeGraph {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hide inner shape ...
|
||||||
|
this.getInnerShape().setVisibility(value);
|
||||||
|
|
||||||
|
// Hide text shape ...
|
||||||
const textShape = this.getTextShape();
|
const textShape = this.getTextShape();
|
||||||
textShape.setVisibility(this.getShapeType() !== TopicShape.IMAGE ? value : false);
|
textShape.setVisibility(this.getShapeType() !== TopicShape.IMAGE ? value : false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user