mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 14:04:49 -05:00
Fix model list hover for upgrade scenario (#311399)
This commit is contained in:
@@ -1505,8 +1505,13 @@ export class ActionListWidget<T> extends Disposable {
|
||||
}
|
||||
} else if (element && element.hover?.content && typeof e.index === 'number') {
|
||||
// Show hover for disabled items that have hover content (with delay)
|
||||
this._hideSubmenu();
|
||||
this._scheduleSubmenuShow(element, e.index);
|
||||
if (this._currentSubmenuElement === element) {
|
||||
this._cancelSubmenuHide();
|
||||
this._cancelSubmenuShow();
|
||||
} else {
|
||||
this._hideSubmenu();
|
||||
this._scheduleSubmenuShow(element, e.index);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -357,6 +357,15 @@
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.action-list-submenu-hover-header a {
|
||||
color: var(--vscode-textLink-foreground);
|
||||
}
|
||||
|
||||
.action-list-submenu-hover-header a:hover,
|
||||
.action-list-submenu-hover-header a:active {
|
||||
color: var(--vscode-textLink-activeForeground);
|
||||
}
|
||||
|
||||
.action-list-submenu-hover-header.has-submenu {
|
||||
border-bottom: 1px solid var(--vscode-menu-separatorBackground, var(--vscode-editorWidget-border));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user