@famibee/skynovel 1.29.3 → 1.29.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/app.js CHANGED
@@ -795,6 +795,7 @@ function argChk_Boolean(hash2, name2, def) {
795
795
  return hash2[name2] = v22 === "false" ? false : Boolean(v22);
796
796
  }
797
797
  function parseColor(v2) {
798
+ console.log(`fn:CmnLib.ts line:152 v:%o`, v2);
798
799
  if (v2.charAt(0) === "#")
799
800
  return parseInt(v2.slice(1), 16);
800
801
  const n = Number(v2);
@@ -52179,7 +52180,7 @@ init_fn = async function() {
52179
52180
  const hApp = {
52180
52181
  width: __privateGet(this, _cfg3).oCfg.window.width,
52181
52182
  height: __privateGet(this, _cfg3).oCfg.window.height,
52182
- backgroundColor: parseColor(__privateGet(this, _cfg3).oCfg.init.bg_color),
52183
+ backgroundColor: parseColor(String(__privateGet(this, _cfg3).oCfg.init.bg_color)),
52183
52184
  resolution: (_b3 = globalThis.devicePixelRatio) != null ? _b3 : 1,
52184
52185
  autoResize: true
52185
52186
  };