mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-12 10:39:44 +02:00
deleted repeated code
This commit is contained in:
@@ -429,9 +429,6 @@ export const draw = function (text, id, version, diagObj) {
|
||||
if (d.milestone) {
|
||||
endX = startX + theBarHeight;
|
||||
}
|
||||
// if (d.vert) {
|
||||
// return startX + theSidePad + (endX - startX) / 2 - this.getBBox().width / 2;
|
||||
// }
|
||||
|
||||
const textWidth = this.getBBox().width;
|
||||
|
||||
|
Reference in New Issue
Block a user