File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/webview/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ import { IEditorService } from 'vs/workbench/services/editor/common/editorServic
2424
2525export class WebviewEditor extends BaseEditor {
2626
27+ public static readonly ID = 'WebviewEditor' ;
28+
2729 private _webview : Webview | undefined ;
2830 private _findWidgetVisible : IContextKey < boolean > ;
2931
30- public static readonly ID = 'WebviewEditor' ;
31-
3232 private _editorFrame : HTMLElement ;
3333 private _content ?: HTMLElement ;
3434 private _webviewContent : HTMLElement | undefined ;
@@ -37,7 +37,7 @@ export class WebviewEditor extends BaseEditor {
3737 private readonly _onFocusWindowHandler = this . _register ( new MutableDisposable ( ) ) ;
3838
3939 private readonly _onDidFocusWebview = this . _register ( new Emitter < void > ( ) ) ;
40- public readonly onDidFocus : Event < any > = this . _onDidFocusWebview . event ;
40+ public get onDidFocus ( ) : Event < any > { return this . _onDidFocusWebview . event ; }
4141
4242 private _pendingMessages : any [ ] = [ ] ;
4343
You can’t perform that action at this time.
0 commit comments