提交 e56ea2f4 编写于 作者: B Benjamin Pasero

fix build

上级 aa2c1642
......@@ -57,15 +57,12 @@ export class Tree extends Events.EventEmitter implements _.ITree {
private model: Model.TreeModel;
private view: View.TreeView;
get onDOMFocus(): Event<FocusEvent> { return this.view.onDOMFocus; }
get onDOMBlur(): Event<FocusEvent> { return this.view.onDOMBlur; }
private _onDispose: Emitter<void> = new Emitter<void>();
get onDispose(): Event<void> { return this._onDispose.event; }
private _onDispose: Emitter<void>;
constructor(container: HTMLElement, configuration: _.ITreeConfiguration, options: _.ITreeOptions = {}) {
super();
this._onDispose = new Emitter<void>();
this.container = container;
this.configuration = configuration;
this.options = options;
......@@ -87,6 +84,18 @@ export class Tree extends Events.EventEmitter implements _.ITree {
this.addEmitter2(this.view);
}
get onDOMFocus(): Event<FocusEvent> {
return this.view && this.view.onDOMFocus;
}
get onDOMBlur(): Event<FocusEvent> {
return this.view && this.view.onDOMBlur;
}
get onDispose(): Event<void> {
return this._onDispose && this._onDispose.event;
}
public getHTMLElement(): HTMLElement {
return this.view.getHTMLElement();
}
......
......@@ -52,10 +52,10 @@
}
.monaco-editor .debug-breakpoint-column::before {
content: " ";
width: 0.9em;
height: 0.8em;
display: inline-block;
content: " ";
width: 0.9em;
height: 0.8em;
display: inline-block;
margin-right: 2px;
margin-left: 2px;
background-size: 110% !important;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册