Fix a typo in flowRenderer. Fix #541

This commit is contained in:
Tyler Long
2018-03-19 09:31:29 +08:00
parent 13ec3f6c0d
commit 01541a3dc1
2 changed files with 2 additions and 2 deletions

View File

@@ -456,7 +456,7 @@ export const draw = function (text, id) {
if (!conf.htmlLabels) {
const labels = document.querySelectorAll('#' + id + ' .edgeLabel .label')
for (let k = 0; k < labels.length; k++) {
const label = labels[i]
const label = labels[k]
// Get dimensions of label
const dim = label.getBBox()