提交 9a2b30c1 编写于 作者: I isidor

Theme: Debugger task dropdown inconsistency

fixes #26953
上级 96a95af6
......@@ -10,7 +10,7 @@ import { IAction, IActionRunner } from 'vs/base/common/actions';
import { KeyCode } from 'vs/base/common/keyCodes';
import * as dom from 'vs/base/browser/dom';
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
import { SelectBox } from 'vs/base/browser/ui/selectBox/selectBox';
import { SelectBox, ISelectBoxStyles } from 'vs/base/browser/ui/selectBox/selectBox';
import { SelectActionItem, IActionItem } from 'vs/base/browser/ui/actionbar/actionbar';
import { EventEmitter } from 'vs/base/common/eventEmitter';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
......@@ -37,7 +37,7 @@ export class StartDebugActionItem extends EventEmitter implements IActionItem {
private context: any,
private action: IAction,
@IDebugService private debugService: IDebugService,
@IThemeService themeService: IThemeService,
@IThemeService private themeService: IThemeService,
@IConfigurationService private configurationService: IConfigurationService,
@ICommandService private commandService: ICommandService
) {
......@@ -115,6 +115,14 @@ export class StartDebugActionItem extends EventEmitter implements IActionItem {
event.stopPropagation();
}
}));
this.toDispose.push(attachSelectBoxStyler({
style: (colors: ISelectBoxStyles) => {
if (colors.selectBorder) {
this.container.style.borderColor = colors.selectBorder.toString();
selectBoxContainer.style.borderLeftColor = colors.selectBorder.toString();
}
}
}, this.themeService));
this.updateOptions();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册