Skip to content

Commit 4ec47f2

Browse files
authored
Merge pull request microsoft#158629 from justschen/justin/moreWidgetWork
Fixes issue with contrast in light themes and code action settings bug
2 parents 67a6f23 + 7748108 commit 4ec47f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class CodeActionMenu extends Disposable implements IEditorContribution {
299299
* Checks if the settings have enabled the new code action widget.
300300
*/
301301
private isCodeActionWidgetEnabled(model: ITextModel): boolean {
302-
return this._configurationService.getValue('editor.experimental.useCustomCodeActionMenu', {
302+
return this._configurationService.getValue('editor.useCustomCodeActionMenu', {
303303
resource: model.uri
304304
});
305305
}

src/vs/editor/contrib/codeAction/browser/media/action.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
.codeActionMenuWidget .monaco-list .monaco-list-row:hover:not(.option-disabled),
7272
.codeActionMenuWidget .monaco-list .monaco-list-row.focused:not(.option-disabled) {
7373
background-color: var(--vscode-list-hoverBackground) !important;
74+
color: var(--vscode-list-activeSelectionForeground) !important;
7475
}
7576

7677
.codeActionMenuWidget .monaco-list .monaco-list-row.focused:not(.option-disabled) {

0 commit comments

Comments
 (0)