(panel: Component & Focusable)
| 2588 | // ========================================================================= |
| 2589 | |
| 2590 | mountEditorReplacement(panel: Component & Focusable): void { |
| 2591 | this.state.editorContainer.clear(); |
| 2592 | this.state.editorContainer.addChild(panel); |
| 2593 | this.state.ui.setFocus(panel); |
| 2594 | this.state.ui.requestRender(); |
| 2595 | } |
| 2596 | |
| 2597 | restoreEditor(): void { |
| 2598 | this.state.editorContainer.clear(); |
no test coverage detected