Tweak issue pane icon badge

This commit is contained in:
Quincy Morgan
2019-02-15 12:19:48 -05:00
parent 058a8ee8ff
commit b57e5a75b8
2 changed files with 14 additions and 14 deletions

View File

@@ -47,18 +47,18 @@ export function uiIssues(context) {
}*/
function addIconBadge(selection) {
var d = 10;
selection.selectAll('svg.icon-badge')
.data([0])
.enter()
.append('svg')
.attr('viewbox', '0 0 10 10')
.attr('viewbox', '0 0 ' + d + ' ' + d)
.attr('class', 'icon-badge')
.append('circle')
.attr('cx', '5')
.attr('cy', '5')
.attr('r', '5')
.attr('fill', 'currentColor')
.attr('stroke', '#333');
.attr('cx', d / 2)
.attr('cy', d / 2)
.attr('r', (d / 2) - 1)
.attr('fill', 'currentColor');
}
function renderErrorsList(selection) {