|
@@ -607,9 +607,7 @@ export class TextEditor {
|
|
this.textContainer,
|
|
this.textContainer,
|
|
this.outerLine,
|
|
this.outerLine,
|
|
document.querySelector('.editor-panel'),
|
|
document.querySelector('.editor-panel'),
|
|
- document.getElementById('propertyPanelButton'),
|
|
|
|
- document.getElementById('undo'),
|
|
|
|
- document.getElementById('redo')
|
|
|
|
|
|
+ document.getElementById('propertyPanelButton')
|
|
], this.handleOutside.bind(this))
|
|
], this.handleOutside.bind(this))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -797,9 +795,7 @@ export class TextEditor {
|
|
this.textContainer,
|
|
this.textContainer,
|
|
this.outerLine,
|
|
this.outerLine,
|
|
document.querySelector('.editor-panel'),
|
|
document.querySelector('.editor-panel'),
|
|
- document.getElementById('propertyPanelButton'),
|
|
|
|
- document.getElementById('undo'),
|
|
|
|
- document.getElementById('redo')
|
|
|
|
|
|
+ document.getElementById('propertyPanelButton')
|
|
], this.handleOutside.bind(this))
|
|
], this.handleOutside.bind(this))
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -842,9 +838,7 @@ export class TextEditor {
|
|
this.textContainer,
|
|
this.textContainer,
|
|
this.outerLine,
|
|
this.outerLine,
|
|
document.querySelector('.editor-panel'),
|
|
document.querySelector('.editor-panel'),
|
|
- document.getElementById('propertyPanelButton'),
|
|
|
|
- document.getElementById('undo'),
|
|
|
|
- document.getElementById('redo')
|
|
|
|
|
|
+ document.getElementById('propertyPanelButton')
|
|
], this.handleOutside.bind(this))
|
|
], this.handleOutside.bind(this))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1680,9 +1674,7 @@ export class TextEditor {
|
|
this.textContainer,
|
|
this.textContainer,
|
|
this.outerLine,
|
|
this.outerLine,
|
|
document.querySelector('.editor-panel'),
|
|
document.querySelector('.editor-panel'),
|
|
- document.getElementById('propertyPanelButton'),
|
|
|
|
- document.getElementById('undo'),
|
|
|
|
- document.getElementById('redo')
|
|
|
|
|
|
+ document.getElementById('propertyPanelButton')
|
|
],this.handleOutside.bind(this))
|
|
],this.handleOutside.bind(this))
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1812,6 +1804,6 @@ export class TextEditor {
|
|
|
|
|
|
this.drawCanvas()
|
|
this.drawCanvas()
|
|
this.saveEdit()
|
|
this.saveEdit()
|
|
- this.getTextStyle()
|
|
|
|
|
|
+ this.contentContainer.selectedFrameIndex === this.editAreaIndex && this.getTextStyle()
|
|
}
|
|
}
|
|
}
|
|
}
|