@galacean/engine-core 2.0.0-alpha.8 → 2.0.0-alpha.9
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.
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -17998,7 +17998,7 @@ __decorate([
|
|
|
17998
17998
|
this._setDirtyFlagTrue(4 | 8);
|
|
17999
17999
|
};
|
|
18000
18000
|
_proto._isTextNoVisible = function _isTextNoVisible() {
|
|
18001
|
-
return this._text === "" || this._fontSize === 0 || this.enableWrapping && this.width <= 0 || this.overflowMode === OverflowMode.Truncate && this.height <= 0;
|
|
18001
|
+
return !this._font || this._text === "" || this._fontSize === 0 || this.enableWrapping && this.width <= 0 || this.overflowMode === OverflowMode.Truncate && this.height <= 0;
|
|
18002
18002
|
};
|
|
18003
18003
|
_proto._buildChunk = function _buildChunk(textChunk, count) {
|
|
18004
18004
|
var _this_color = this.color, r = _this_color.r, g = _this_color.g, b = _this_color.b, a = _this_color.a;
|