Initial
This commit is contained in:
6
resources/app/node_modules/@pixi/mixin-get-global-position/lib/index.js
generated
vendored
Normal file
6
resources/app/node_modules/@pixi/mixin-get-global-position/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
var core = require("@pixi/core"), display = require("@pixi/display");
|
||||
display.DisplayObject.prototype.getGlobalPosition = function(point = new core.Point(), skipUpdate = !1) {
|
||||
return this.parent ? this.parent.toGlobal(this.position, point, skipUpdate) : (point.x = this.position.x, point.y = this.position.y), point;
|
||||
};
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user