mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26: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) {
|
if (id === PLUGIN_CLASS.PROP_LOADER_SCALE) {
|
||||||
this.skeleton = undefined;
|
this.skeleton = undefined;
|
||||||
this.skins = [];
|
this.skins = [];
|
||||||
|
this.spineBoundsInit = false;
|
||||||
|
this.resetBounds();
|
||||||
this.layoutView?.Refresh();
|
this.layoutView?.Refresh();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user