mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
dead are getters, long live readonly
This commit is contained in:
@@ -13,7 +13,7 @@ export class ExtHostWindow implements ExtHostWindowShape {
|
||||
private _proxy: MainThreadWindowShape;
|
||||
|
||||
private _onDidChangeWindowFocus = new Emitter<boolean>();
|
||||
get onDidChangeWindowFocus(): Event<boolean> { return this._onDidChangeWindowFocus.event; }
|
||||
readonly onDidChangeWindowFocus: Event<boolean> = this._onDidChangeWindowFocus.event;
|
||||
|
||||
private _isFocused = false;
|
||||
get isFocused(): boolean { return this._isFocused; }
|
||||
|
||||
Reference in New Issue
Block a user