From bc3e70af01346fb154c8011582aecd1c4322523f Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 3 Apr 2021 14:13:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=83=E5=B1=80=E5=A4=A7=E4=B8=80=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/label/abstract.label.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/base/single/label/abstract.label.js b/src/base/single/label/abstract.label.js index 494824051..d5a377fae 100644 --- a/src/base/single/label/abstract.label.js +++ b/src/base/single/label/abstract.label.js @@ -211,7 +211,6 @@ var o = this.options; var adaptLayout = "bi.vertical_adapt"; var json = this._createJson(); - json.textAlign = "left"; if (BI.isNumber(o.width) && o.width > 0) { if (BI.isNumber(o.textWidth) && o.textWidth > 0) { json.width = o.textWidth; @@ -252,7 +251,6 @@ return; } if (BI.isNumber(o.height) && o.height > 0) { // 2.3 - json.textAlign = o.textAlign; this.text = BI.createWidget(BI.extend(json, { element: this, hgap: o.hgap, @@ -316,7 +314,6 @@ "line-height": (o.height - (o.vgap * 2)) / BI.pixRatio + BI.pixUnit }); } - json.textAlign = o.textAlign; this.text = BI.createWidget(BI.extend(json, { // 2.6 element: this, hgap: o.hgap,