mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-13 11:09:39 +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) {
|
if (d.milestone) {
|
||||||
endX = startX + theBarHeight;
|
endX = startX + theBarHeight;
|
||||||
}
|
}
|
||||||
// if (d.vert) {
|
|
||||||
// return startX + theSidePad + (endX - startX) / 2 - this.getBBox().width / 2;
|
|
||||||
// }
|
|
||||||
|
|
||||||
const textWidth = this.getBBox().width;
|
const textWidth = this.getBBox().width;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user