Skip to content

Commit

Permalink
Remove unnecessary field
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Sep 30, 2021
1 parent a79d0fd commit 9046800
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vs/editor/contrib/hover/modesContentHover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ export class ModesContentHoverWidget extends Widget implements IContentWidget, I
private readonly _participants: IEditorHoverParticipant[];

private readonly _hover: HoverWidget;
private readonly _id: string;
private readonly _editor: ICodeEditor;
private _isVisible: boolean;
private _showAtPosition: Position | null;
Expand Down Expand Up @@ -217,7 +216,6 @@ export class ModesContentHoverWidget extends Widget implements IContentWidget, I
];

this._hover = this._register(new HoverWidget());
this._id = ModesContentHoverWidget.ID;
this._editor = editor;
this._isVisible = false;
this._stoleFocus = false;
Expand Down Expand Up @@ -285,7 +283,7 @@ export class ModesContentHoverWidget extends Widget implements IContentWidget, I
}

public getId(): string {
return this._id;
return ModesContentHoverWidget.ID;
}

public getDomNode(): HTMLElement {
Expand Down

0 comments on commit 9046800

Please sign in to comment.