#1029 Linting fixes

This commit is contained in:
Knut Sveidqvist
2019-10-24 19:46:42 +02:00
parent d1c74070ab
commit 8f8638fb7c
2 changed files with 41 additions and 34 deletions

View File

@@ -436,9 +436,9 @@ export const drawEdge = function(elem, path, relation) {
}
if (rows.length > 1) {
const heightAdj = rows.length * titleHeight * 0.25;
const heightAdj = rows.length * titleHeight * 0.25;
titleRows.forEach((title, i) => title.attr('y', y + i * titleHeight - heightAdj));
titleRows.forEach((title, i) => title.attr('y', y + i * titleHeight - heightAdj));
}
const bounds = label.node().getBBox();