mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
Fix compilation error
This commit is contained in:
parent
df6edba21b
commit
859fcad6a6
@ -253,18 +253,20 @@ class MultilineTextEditor extends Events {
|
||||
}
|
||||
|
||||
close(update: boolean): void {
|
||||
if (this.isVisible() && this._topic) {
|
||||
const actionDispatcher = ActionDispatcher.getInstance();
|
||||
if (this.isVisible()) {
|
||||
if (update) {
|
||||
this._updateModel();
|
||||
}
|
||||
// Let make the visible text in the node ...
|
||||
this._topic.getTextShape().setVisibility(true);
|
||||
|
||||
// Remove it form the screen ...
|
||||
this._containerElem.remove();
|
||||
this._containerElem = null;
|
||||
}
|
||||
|
||||
if (this._topic) {
|
||||
this._topic.getTextShape().setVisibility(true);
|
||||
this._topic = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
export default MultilineTextEditor;
|
||||
|
Loading…
Reference in New Issue
Block a user