@novely/solid-renderer 0.34.1-beta.0 → 0.34.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.jsx +5 -1
  2. package/package.json +1 -1
package/dist/index.jsx CHANGED
@@ -5051,7 +5051,11 @@ var imageLoaded = (image) => {
5051
5051
  if (image.complete && image.naturalHeight !== 0) {
5052
5052
  return resolve(true);
5053
5053
  }
5054
- image.addEventListener("load", () => {
5054
+ image.addEventListener("load", async () => {
5055
+ if (image.decode) {
5056
+ await image.decode().catch(() => {
5057
+ });
5058
+ }
5055
5059
  resolve(true);
5056
5060
  });
5057
5061
  image.addEventListener("abort", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novely/solid-renderer",
3
- "version": "0.34.1-beta.0",
3
+ "version": "0.34.1-beta.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"