mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-10 02:49:40 +02:00
Fix a typo in flowRenderer. Fix #541
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mermaid",
|
||||
"version": "8.0.0-beta.9",
|
||||
"version": "8.0.0-rc.1",
|
||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||
"main": "dist/mermaid.core.js",
|
||||
"keywords": [
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user