Skip to content

Commit

Permalink
use default hover delay time
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Jul 21, 2021
1 parent 1ea2c63 commit ee47400
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ export class ExtensionHoverWidget extends ExtensionWidget {
private readonly recommendationWidget: RecommendationWidget,
@IExtensionsWorkbenchService private readonly extensionsWorkbenchService: IExtensionsWorkbenchService,
@IHoverService private readonly hoverService: IHoverService,
@IConfigurationService private readonly configurationService: IConfigurationService,
) {
super();
}
Expand All @@ -446,7 +447,7 @@ export class ExtensionHoverWidget extends ExtensionWidget {
this.hover.value = undefined;
if (this.extension) {
this.hover.value = setupCustomHover({
delay: 500,
delay: this.configurationService.getValue<number>('workbench.hover.delay'),
showHover: (options) => {
return this.hoverService.showHover({
...options,
Expand Down

0 comments on commit ee47400

Please sign in to comment.