@urso/core 0.4.26 → 0.4.29
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/package.json
CHANGED
|
@@ -171,13 +171,14 @@ class ModulesObjectsModelsSpine extends Urso.Core.Modules.Objects.BaseModel {
|
|
|
171
171
|
if (currentSlot) {
|
|
172
172
|
object._baseObject.scale.y = -1;
|
|
173
173
|
|
|
174
|
-
Urso.objects.removeChild(object.parent, object);
|
|
174
|
+
Urso.objects.removeChild(object.parent, object, true);
|
|
175
175
|
|
|
176
176
|
if (replaceSlotContents)
|
|
177
177
|
currentSlot.removeChildren(); //todo check if its proxy and reset parent
|
|
178
178
|
|
|
179
|
-
|
|
179
|
+
object.parent = this; //todo make removeChild for addedToSlotObjects
|
|
180
180
|
currentSlot.addChild(object._baseObject);
|
|
181
|
+
Urso.objects.refreshStyles();
|
|
181
182
|
} else {
|
|
182
183
|
Urso.logger.warn('ModulesObjectsModelsSpine _addToSlot error: no spine slot ' + slotName);
|
|
183
184
|
}
|