@pixi/canvas-text
Advanced tools
Comparing version 6.5.3 to 7.0.0-alpha
/*! | ||
* @pixi/canvas-text - v6.5.3 | ||
* Compiled Fri, 09 Sep 2022 13:55:20 UTC | ||
* @pixi/canvas-text - v7.0.0-alpha | ||
* Compiled Fri, 09 Sep 2022 16:09:18 UTC | ||
* | ||
@@ -13,17 +13,10 @@ * @pixi/canvas-text is licensed under the MIT License. | ||
/** | ||
* Renders the object using the Canvas renderer | ||
* @method _renderCanvas | ||
* @memberof PIXI.Text# | ||
* @private | ||
* @param {PIXI.CanvasRenderer} renderer - The renderer | ||
*/ | ||
text.Text.prototype._renderCanvas = function _renderCanvas(renderer) { | ||
if (this._autoResolution && this._resolution !== renderer.resolution) { | ||
this._resolution = renderer.resolution; | ||
this.dirty = true; | ||
} | ||
this.updateText(true); | ||
sprite.Sprite.prototype._renderCanvas.call(this, renderer); | ||
if (this._autoResolution && this._resolution !== renderer.resolution) { | ||
this._resolution = renderer.resolution; | ||
this.dirty = true; | ||
} | ||
this.updateText(true); | ||
sprite.Sprite.prototype._renderCanvas.call(this, renderer); | ||
}; | ||
//# sourceMappingURL=canvas-text.js.map |
@@ -1,9 +0,8 @@ | ||
/*! | ||
* @pixi/canvas-text - v6.5.3 | ||
* Compiled Fri, 09 Sep 2022 13:55:20 UTC | ||
"use strict";/*! | ||
* @pixi/canvas-text - v7.0.0-alpha | ||
* Compiled Fri, 09 Sep 2022 16:09:18 UTC | ||
* | ||
* @pixi/canvas-text is licensed under the MIT License. | ||
* http://www.opensource.org/licenses/mit-license | ||
*/ | ||
"use strict";var t=require("@pixi/text"),e=require("@pixi/sprite");t.Text.prototype._renderCanvas=function(t){this._autoResolution&&this._resolution!==t.resolution&&(this._resolution=t.resolution,this.dirty=!0),this.updateText(!0),e.Sprite.prototype._renderCanvas.call(this,t)}; | ||
*/var e=require("@pixi/text"),i=require("@pixi/sprite");e.Text.prototype._renderCanvas=function(t){this._autoResolution&&this._resolution!==t.resolution&&(this._resolution=t.resolution,this.dirty=!0),this.updateText(!0),i.Sprite.prototype._renderCanvas.call(this,t)}; | ||
//# sourceMappingURL=canvas-text.min.js.map |
{ | ||
"name": "@pixi/canvas-text", | ||
"version": "6.5.3", | ||
"version": "7.0.0-alpha", | ||
"main": "dist/cjs/canvas-text.js", | ||
"module": "dist/esm/canvas-text.mjs", | ||
"bundle": "dist/browser/canvas-text.js", | ||
"types": "index.d.ts", | ||
@@ -20,3 +19,2 @@ "exports": { | ||
}, | ||
"bundleNoExports": true, | ||
"description": "Canvas mixin for the text package", | ||
@@ -35,12 +33,11 @@ "author": "Dave Moore", | ||
"files": [ | ||
"lib", | ||
"dist", | ||
"*.d.ts" | ||
], | ||
"peerDependencies": { | ||
"@pixi/canvas-sprite": "6.5.3", | ||
"@pixi/sprite": "6.5.3", | ||
"@pixi/text": "6.5.3" | ||
}, | ||
"gitHead": "28e6b2841a65837a5e2873a3d5a9c27cabbe795a" | ||
"pixiRequirements": [ | ||
"@pixi/canvas-sprite", | ||
"@pixi/sprite", | ||
"@pixi/text" | ||
], | ||
"gitHead": "da993226df64b804a9c00ed9ee4d011191467b8a" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
8995
12
56
1