@galacean/engine-ui 1.4.6 → 1.4.7
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/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/browser.min.js +1 -1
- package/dist/browser.min.js.map +1 -1
- 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/browser.js
CHANGED
|
@@ -2272,7 +2272,7 @@
|
|
|
2272
2272
|
};
|
|
2273
2273
|
_proto._isTextNoVisible = function _isTextNoVisible() {
|
|
2274
2274
|
var size = this._transformEntity.transform.size;
|
|
2275
|
-
return this._text === "" || this._fontSize === 0 || this.enableWrapping && size.x <= 0 || this.overflowMode === engine.OverflowMode.Truncate && size.y <= 0;
|
|
2275
|
+
return this._text === "" || this._fontSize === 0 || this.enableWrapping && size.x <= 0 || this.overflowMode === engine.OverflowMode.Truncate && size.y <= 0 || !this._getRootCanvas();
|
|
2276
2276
|
};
|
|
2277
2277
|
_proto._buildChunk = function _buildChunk(textChunk, count) {
|
|
2278
2278
|
var _this_color = this.color, r = _this_color.r, g = _this_color.g, b = _this_color.b, a = _this_color.a;
|