提交 b66f0d96 编写于 作者: M Matt Bierner

Strict init

#78168
上级 8e3070d0
...@@ -29,13 +29,14 @@ export abstract class SimpleFindWidget extends Widget { ...@@ -29,13 +29,14 @@ export abstract class SimpleFindWidget extends Widget {
private readonly _findInput: FindInput; private readonly _findInput: FindInput;
private readonly _domNode: HTMLElement; private readonly _domNode: HTMLElement;
private readonly _innerDomNode: HTMLElement; private readonly _innerDomNode: HTMLElement;
private _isVisible: boolean = false;
private readonly _focusTracker: dom.IFocusTracker; private readonly _focusTracker: dom.IFocusTracker;
private readonly _findInputFocusTracker: dom.IFocusTracker; private readonly _findInputFocusTracker: dom.IFocusTracker;
private readonly _updateHistoryDelayer: Delayer<void>; private readonly _updateHistoryDelayer: Delayer<void>;
private prevBtn: SimpleButton; private readonly prevBtn: SimpleButton;
private nextBtn: SimpleButton; private readonly nextBtn: SimpleButton;
private foundMatch: boolean;
private _isVisible: boolean = false;
private foundMatch: boolean = false;
constructor( constructor(
@IContextViewService private readonly _contextViewService: IContextViewService, @IContextViewService private readonly _contextViewService: IContextViewService,
......
...@@ -213,7 +213,7 @@ export class IFrameWebview extends Disposable implements Webview { ...@@ -213,7 +213,7 @@ export class IFrameWebview extends Disposable implements Webview {
} }
} }
initialScrollProgress: number; initialScrollProgress: number = 0;
private readonly _onDidFocus = this._register(new Emitter<void>()); private readonly _onDidFocus = this._register(new Emitter<void>());
public readonly onDidFocus = this._onDidFocus.event; public readonly onDidFocus = this._onDidFocus.event;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册