@pixi/canvas-display
Advanced tools
Comparing version 7.2.4 to 7.3.0-rc
@@ -1,22 +0,13 @@ | ||
'use strict'; | ||
var display = require('@pixi/display'); | ||
display.Container.prototype._renderCanvas = function _renderCanvas(_renderer) { | ||
"use strict"; | ||
var display = require("@pixi/display"); | ||
display.Container.prototype._renderCanvas = function(_renderer) { | ||
}; | ||
display.Container.prototype.renderCanvas = function renderCanvas(renderer) { | ||
if (!this.visible || this.worldAlpha <= 0 || !this.renderable) { | ||
return; | ||
display.Container.prototype.renderCanvas = function(renderer) { | ||
if (!(!this.visible || this.worldAlpha <= 0 || !this.renderable)) { | ||
this._mask && renderer.mask.pushMask(this._mask), this._renderCanvas(renderer); | ||
for (let i = 0, j = this.children.length; i < j; ++i) | ||
this.children[i].renderCanvas(renderer); | ||
this._mask && renderer.mask.popMask(renderer); | ||
} | ||
if (this._mask) { | ||
renderer.mask.pushMask(this._mask); | ||
} | ||
this._renderCanvas(renderer); | ||
for (let i = 0, j = this.children.length; i < j; ++i) { | ||
this.children[i].renderCanvas(renderer); | ||
} | ||
if (this._mask) { | ||
renderer.mask.popMask(renderer); | ||
} | ||
}; | ||
//# sourceMappingURL=Container.js.map |
@@ -1,7 +0,5 @@ | ||
'use strict'; | ||
var display = require('@pixi/display'); | ||
display.DisplayObject.prototype.renderCanvas = function renderCanvas(_renderer) { | ||
"use strict"; | ||
var display = require("@pixi/display"); | ||
display.DisplayObject.prototype.renderCanvas = function(_renderer) { | ||
}; | ||
//# sourceMappingURL=DisplayObject.js.map |
@@ -1,6 +0,4 @@ | ||
'use strict'; | ||
require('./Container.js'); | ||
require('./DisplayObject.js'); | ||
"use strict"; | ||
require("./Container.js"); | ||
require("./DisplayObject.js"); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pixi/canvas-display", | ||
"version": "7.2.4", | ||
"version": "7.3.0-rc", | ||
"main": "lib/index.js", | ||
@@ -39,4 +39,4 @@ "module": "lib/index.mjs", | ||
"peerDependencies": { | ||
"@pixi/display": "7.2.4" | ||
"@pixi/display": "7.3.0-rc" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8878
57
1