未验证 提交 21cf602a 编写于 作者: S Sandeep Somavarapu 提交者: GitHub

Merge pull request #41905 from usernamehw2/revert_changes

Revert - move striping logic back to javascript
......@@ -660,6 +660,7 @@ class KeybindingItemRenderer implements IRenderer<IKeybindingItemEntry, Keybindi
}
renderElement(keybindingEntry: IKeybindingItemEntry, index: number, template: KeybindingItemTemplate): void {
DOM.toggleClass(template.parent, 'odd', index % 2 === 1);
template.actions.render(keybindingEntry);
template.command.render(keybindingEntry);
template.keybinding.render(keybindingEntry);
......
......@@ -68,9 +68,9 @@
display: flex;
}
.keybindings-editor > .keybindings-body > .keybindings-list-container .monaco-list-row:nth-child(even):not(.focused):not(.selected):not(:hover),
.keybindings-editor > .keybindings-body > .keybindings-list-container .monaco-list:not(:focus) .monaco-list-row.focused:nth-child(even):not(.selected):not(:hover),
.keybindings-editor > .keybindings-body > .keybindings-list-container .monaco-list:not(.focused) .monaco-list-row.focused:nth-child(even):not(.selected):not(:hover) {
.keybindings-editor > .keybindings-body > .keybindings-list-container .monaco-list-row.odd:not(.focused):not(.selected):not(:hover),
.keybindings-editor > .keybindings-body > .keybindings-list-container .monaco-list:not(:focus) .monaco-list-row.focused.odd:not(.selected):not(:hover),
.keybindings-editor > .keybindings-body > .keybindings-list-container .monaco-list:not(.focused) .monaco-list-row.focused.odd:not(.selected):not(:hover) {
background-color: rgba(130, 130, 130, 0.04);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册