deleted repeated code

This commit is contained in:
nghtlinh
2025-04-11 15:11:14 -04:00
parent 81fa2a675f
commit 296cb64fa5

View File

@@ -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;