提交 d3f8afc5 编写于 作者: I isidor

breakpoint decorations: minor fix

上级 c7f15b3d
......@@ -418,7 +418,7 @@ class BreakpointEditorContribution implements IBreakpointEditorContribution {
this.breakpointDecorations = decorationIds.map((decorationId, index) => {
let inlineWidget: InlineBreakpointWidget | undefined = undefined;
const breakpoint = breakpoints[index];
if (desiredBreakpointDecorations[index].options.inlineClassName) {
if (desiredBreakpointDecorations[index].options.beforeContentClassName) {
const contextMenuActions = () => this.getContextMenuActions([breakpoint], activeCodeEditor.getModel().uri, breakpoint.lineNumber, breakpoint.column);
inlineWidget = new InlineBreakpointWidget(activeCodeEditor, decorationId, desiredBreakpointDecorations[index].options.glyphMarginClassName, breakpoint, this.debugService, this.contextMenuService, contextMenuActions);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册