@eva/renderer-adapter
Advanced tools
Comparing version 1.0.0-mini.0 to 1.0.0-mini.2
@@ -6,3 +6,3 @@ 'use strict'; | ||
var miniprogramPixi = require('@eva/miniprogram-pixi'); | ||
var miniprogramAdapter = require('@eva/miniprogram-adapter'); | ||
var miniprogram = require('@eva/miniprogram-adapter/dist/miniprogram'); | ||
@@ -87,3 +87,3 @@ /*! ***************************************************************************** | ||
if (image) { | ||
if (image instanceof miniprogramAdapter.Image) { | ||
if (image instanceof miniprogram.Image) { | ||
this.sprite = miniprogramPixi.Sprite.from(image); | ||
@@ -107,3 +107,3 @@ } | ||
} | ||
if (val instanceof miniprogramAdapter.Image) { | ||
if (val instanceof miniprogram.Image) { | ||
this.sprite.texture && this.sprite.texture.destroy(false); | ||
@@ -161,3 +161,3 @@ this.sprite.texture = miniprogramPixi.Texture.from(val); | ||
if (image) { | ||
if (image instanceof miniprogramAdapter.Image) { | ||
if (image instanceof miniprogram.Image) { | ||
this.tilingSprite = new PIXITilingSprite(miniprogramPixi.Texture.from(image)); | ||
@@ -181,3 +181,3 @@ } | ||
} | ||
if (val instanceof miniprogramAdapter.Image) { | ||
if (val instanceof miniprogram.Image) { | ||
this.tilingSprite.texture = miniprogramPixi.Texture.from(val); | ||
@@ -184,0 +184,0 @@ } |
{ | ||
"name": "@eva/renderer-adapter", | ||
"version": "1.0.0-mini.0", | ||
"version": "1.0.0-mini.2", | ||
"description": "@eva/renderer-adapter", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
17024