@onerjs/gui 8.30.7 → 8.30.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.
|
@@ -758,6 +758,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
758
758
|
control._moveToProjectedPosition(projectedPosition);
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
|
+
if (!this.useInvalidateRectOptimization) {
|
|
762
|
+
const textureSize = this.getSize();
|
|
763
|
+
if (textureSize.width !== this._clearMeasure.width || textureSize.height !== this._clearMeasure.height) {
|
|
764
|
+
this.markAsDirty();
|
|
765
|
+
}
|
|
766
|
+
}
|
|
761
767
|
if (!this._isDirty && !this._rootContainer.isDirty) {
|
|
762
768
|
return;
|
|
763
769
|
}
|