27 lines
791 B
JavaScript
27 lines
791 B
JavaScript
import { settings, utils } from "@pixi/core";
|
|
import { settings as settings2 } from "@pixi/core";
|
|
import { Container } from "./Container.mjs";
|
|
Object.defineProperties(settings, {
|
|
/**
|
|
* Sets the default value for the container property 'sortableChildren'.
|
|
* @static
|
|
* @name SORTABLE_CHILDREN
|
|
* @memberof PIXI.settings
|
|
* @deprecated since 7.1.0
|
|
* @type {boolean}
|
|
* @see PIXI.Container.defaultSortableChildren
|
|
*/
|
|
SORTABLE_CHILDREN: {
|
|
get() {
|
|
return Container.defaultSortableChildren;
|
|
},
|
|
set(value) {
|
|
utils.deprecation("7.1.0", "settings.SORTABLE_CHILDREN is deprecated, use Container.defaultSortableChildren"), Container.defaultSortableChildren = value;
|
|
}
|
|
}
|
|
});
|
|
export {
|
|
settings2 as settings
|
|
};
|
|
//# sourceMappingURL=settings.mjs.map
|