@pixi/canvas-mesh
Advanced tools
Comparing version 7.0.4 to 7.0.5
@@ -52,2 +52,8 @@ 'use strict'; | ||
const textureHeight = base.height; | ||
if (mesh._cachedTexture && mesh._cachedTexture.baseTexture !== base) { | ||
mesh._cachedTint = 16777215; | ||
mesh._cachedTexture?.destroy(); | ||
mesh._cachedTexture = null; | ||
mesh._tintedCanvas = null; | ||
} | ||
if (isTinted) { | ||
@@ -54,0 +60,0 @@ if (mesh._cachedTint !== mesh.tint) { |
{ | ||
"name": "@pixi/canvas-mesh", | ||
"version": "7.0.4", | ||
"version": "7.0.5", | ||
"main": "lib/index.js", | ||
@@ -25,7 +25,7 @@ "module": "lib/index.mjs", | ||
"homepage": "http://pixijs.com/", | ||
"bugs": "https://github.com/pixijs/pixi.js/issues", | ||
"bugs": "https://github.com/pixijs/pixijs/issues", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pixijs/pixi.js.git" | ||
"url": "https://github.com/pixijs/pixijs.git" | ||
}, | ||
@@ -46,3 +46,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "1d0f4da7abd7238a440f78b3661e40ced1a27614" | ||
"gitHead": "8a89713515f9dbe298484120429202534ac1f9f7" | ||
} |
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 bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
89353
665