@agrhub/engine-pixi 1.4.3 → 1.4.4

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.
package/dist/index.es.js CHANGED
@@ -12627,7 +12627,12 @@ class Va {
12627
12627
  "values"
12628
12628
  ].forEach((a) => {
12629
12629
  let n = e[a];
12630
- if (n === void 0 && (a === "locked" || a === "muted") && (n = !1), n === void 0) return;
12630
+ if (n === void 0 && (a === "locked" || a === "muted") && (n = !1), n === void 0 && (a === "chromaKey" || a === "colorAdjustment")) {
12631
+ const h = t[a];
12632
+ if (!h || h.enabled === !1) return;
12633
+ n = { ...h, enabled: !1 };
12634
+ }
12635
+ if (n === void 0) return;
12631
12636
  const c = t[a];
12632
12637
  c !== n && (typeof c == "number" && typeof n == "number" && Math.abs(c - n) < 0.01 || (a === "style" || a === "values" || a === "caption") && JSON.stringify(c) === JSON.stringify(n) || (Object.assign(t, { [a]: n }), i = !0));
12633
12638
  });