@wcardinal/wcardinal-ui 0.401.0 → 0.402.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -15159,15 +15159,7 @@ var DBase = /** @class */ (function (_super) {
15159
15159
  };
15160
15160
  //
15161
15161
  DBase.prototype._calculateBounds = function () {
15162
- var worldTransform = this.transform.worldTransform;
15163
- var bounds = this._bounds;
15164
- var work = DBase.WORK_CONTAINS_POINT;
15165
- work.set(0, 0);
15166
- worldTransform.apply(work, work);
15167
- bounds.addPoint(work);
15168
- work.set(this._width, this._height);
15169
- worldTransform.apply(work, work);
15170
- bounds.addPoint(work);
15162
+ this._bounds.addFrame(this.transform, 0, 0, this._width, this._height);
15171
15163
  _super.prototype._calculateBounds.call(this);
15172
15164
  };
15173
15165
  DBase.prototype.containsPoint = function (point) {
@@ -29472,7 +29464,8 @@ var DDynamicText = /** @class */ (function (_super) {
29472
29464
  };
29473
29465
  DDynamicText.prototype._calculateBounds = function () {
29474
29466
  this.update();
29475
- _super.prototype._calculateBounds.call(this);
29467
+ var geometry = this.geometry;
29468
+ this._bounds.addFrame(this.transform, 0, 0, geometry.width, geometry.height);
29476
29469
  };
29477
29470
  DDynamicText.prototype._render = function (renderer) {
29478
29471
  this.update();
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.401.0
2
+ Winter Cardinal UI v0.402.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -15156,15 +15156,7 @@
15156
15156
  };
15157
15157
  //
15158
15158
  DBase.prototype._calculateBounds = function () {
15159
- var worldTransform = this.transform.worldTransform;
15160
- var bounds = this._bounds;
15161
- var work = DBase.WORK_CONTAINS_POINT;
15162
- work.set(0, 0);
15163
- worldTransform.apply(work, work);
15164
- bounds.addPoint(work);
15165
- work.set(this._width, this._height);
15166
- worldTransform.apply(work, work);
15167
- bounds.addPoint(work);
15159
+ this._bounds.addFrame(this.transform, 0, 0, this._width, this._height);
15168
15160
  _super.prototype._calculateBounds.call(this);
15169
15161
  };
15170
15162
  DBase.prototype.containsPoint = function (point) {
@@ -29469,7 +29461,8 @@
29469
29461
  };
29470
29462
  DDynamicText.prototype._calculateBounds = function () {
29471
29463
  this.update();
29472
- _super.prototype._calculateBounds.call(this);
29464
+ var geometry = this.geometry;
29465
+ this._bounds.addFrame(this.transform, 0, 0, geometry.width, geometry.height);
29473
29466
  };
29474
29467
  DDynamicText.prototype._render = function (renderer) {
29475
29468
  this.update();