Reset bounds on loader scale change.

This commit is contained in:
Davide Tantillo 2025-12-04 12:16:28 +01:00
parent 9167263c6f
commit fa64afbe8d

View File

@ -117,6 +117,8 @@ class SpineC3PluginInstance extends SDK.IWorldInstanceBase {
if (id === PLUGIN_CLASS.PROP_LOADER_SCALE) {
this.skeleton = undefined;
this.skins = [];
this.spineBoundsInit = false;
this.resetBounds();
this.layoutView?.Refresh();
return;
}