mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
parent
d9ef55ae9e
commit
3fdb0fa6e0
|
@ -226,7 +226,6 @@ export class BaseActionViewItem extends Disposable implements IActionViewItem {
|
|||
const title = this.getTooltip() ?? '';
|
||||
this.updateAriaLabel();
|
||||
|
||||
this.element.title = '';
|
||||
if (!this.customHover) {
|
||||
const hoverDelegate = this.options.hoverDelegate ?? getDefaultHoverDelegate('element');
|
||||
this.customHover = setupCustomHover(hoverDelegate, this.element, title);
|
||||
|
|
|
@ -90,7 +90,7 @@ export class QuickInputService extends Themable implements IQuickInputService {
|
|||
options: IWorkbenchListOptions<T>
|
||||
) => this.instantiationService.createInstance(WorkbenchList, user, container, delegate, renderers, options) as List<T>,
|
||||
styles: this.computeStyles(),
|
||||
hoverDelegate: this.instantiationService.createInstance(QuickInputHoverDelegate)
|
||||
hoverDelegate: this._register(this.instantiationService.createInstance(QuickInputHoverDelegate))
|
||||
};
|
||||
|
||||
const controller = this._register(new QuickInputController({
|
||||
|
|
|
@ -355,7 +355,7 @@ class ActionBarRenderer extends Disposable implements ITableRenderer<ActionBarCe
|
|||
) {
|
||||
super();
|
||||
|
||||
this._hoverDelegate = getDefaultHoverDelegate('mouse', true);
|
||||
this._hoverDelegate = this._register(getDefaultHoverDelegate('mouse', true));
|
||||
}
|
||||
|
||||
set actionRunner(actionRunner: ActionRunner) {
|
||||
|
|
|
@ -1149,7 +1149,7 @@ class TimelineTreeRenderer implements ITreeRenderer<TreeElement, FuzzyScore, Tim
|
|||
@IThemeService private themeService: IThemeService,
|
||||
) {
|
||||
this.actionViewItemProvider = createActionViewItem.bind(undefined, this.instantiationService);
|
||||
this._hoverDelegate = getDefaultHoverDelegate('element');
|
||||
this._hoverDelegate = getDefaultHoverDelegate('mouse');
|
||||
}
|
||||
|
||||
private uri: URI | undefined;
|
||||
|
|
Loading…
Reference in a new issue