mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +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 {
|
close(update: boolean): void {
|
||||||
if (this.isVisible() && this._topic) {
|
if (this.isVisible()) {
|
||||||
const actionDispatcher = ActionDispatcher.getInstance();
|
if (update) {
|
||||||
this._updateModel();
|
this._updateModel();
|
||||||
}
|
}
|
||||||
// Let make the visible text in the node ...
|
|
||||||
this._topic.getTextShape().setVisibility(true);
|
|
||||||
|
|
||||||
// Remove it form the screen ...
|
// Remove it form the screen ...
|
||||||
this._containerElem.remove();
|
this._containerElem.remove();
|
||||||
this._containerElem = null;
|
this._containerElem = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this._topic) {
|
||||||
|
this._topic.getTextShape().setVisibility(true);
|
||||||
this._topic = null;
|
this._topic = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export default MultilineTextEditor;
|
export default MultilineTextEditor;
|
||||||
|
Loading…
Reference in New Issue
Block a user