Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom hover for quick open title bar buttons #191416

Merged
merged 4 commits into from
Aug 30, 2023

Conversation

weartist
Copy link
Contributor

for: #186347

@@ -539,7 +539,7 @@ export class QuickInputList {
}
}));

const delayer = new ThrottledDelayer(options.hoverDelegate.delay);
const delayer = new ThrottledDelayer(options.hoverDelegate ? options.hoverDelegate.delay : 200);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this stuff with the delayer and this.showHover is only going to happen if there is a hoverDelegate. Instead of doing the check for this.options.hoverDelegate in all these places, can you just not do any of this stuff if this.options.hoverDelegate isn't defined?

@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) August 30, 2023 00:33
@TylerLeonhardt
Copy link
Member

Thanks for your patience! Great work :)

@VSCodeTriageBot VSCodeTriageBot added this to the August 2023 milestone Aug 30, 2023
@TylerLeonhardt TylerLeonhardt changed the title add custom hover for quick open add custom hover for quick open title bar buttons Aug 30, 2023
@TylerLeonhardt TylerLeonhardt merged commit 046cfbf into microsoft:main Aug 30, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants