babylonjs-gui 5.9.0 → 5.11.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.
package/babylon.gui.js CHANGED
@@ -14871,6 +14871,9 @@ var TextBlock = /** @class */ (function (_super) {
14871
14871
  return lines;
14872
14872
  };
14873
14873
  TextBlock.prototype._renderLines = function (context) {
14874
+ if (!this._fontOffset) {
14875
+ return;
14876
+ }
14874
14877
  var height = this._currentMeasure.height;
14875
14878
  var rootY = 0;
14876
14879
  switch (this._textVerticalAlignment) {