mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
Reset bounds on loader scale change.
This commit is contained in:
parent
9167263c6f
commit
fa64afbe8d
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user