babylonjs-gui 5.53.0 → 5.54.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
@@ -6229,6 +6229,8 @@ var Control = /** @class */ (function () {
6229
6229
  }
6230
6230
  };
6231
6231
  Control.prototype._evaluateClippingState = function (parentMeasure) {
6232
+ // Since transformMatrix is used here, we need to have it freshly computed
6233
+ this._transform();
6232
6234
  this._currentMeasure.transformToRef(this._transformMatrix, this._evaluatedMeasure);
6233
6235
  if (this.parent && this.parent.clipChildren) {
6234
6236
  parentMeasure.transformToRef(this.parent._transformMatrix, this._evaluatedParentMeasure);