@doki-land/live2d 0.0.4 → 0.0.5
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/l2d.esm.js +2 -2
- package/dist/l2d.esm.js.map +1 -1
- package/dist/l2d.umd.js +1 -1
- package/dist/l2d.umd.js.map +1 -1
- package/package.json +49 -46
- package/src/fs/index.ts +3 -3
- package/src/index.ts +5 -7
- package/src/types/Live2dOptions.ts +1 -1
- package/src/types/index.ts +2 -2
package/dist/l2d.esm.js
CHANGED
|
@@ -39369,7 +39369,7 @@ async function my(s) {
|
|
|
39369
39369
|
const x = Math.min(i / C.width, n / C.height);
|
|
39370
39370
|
C.scale.set(x), C.x = (i - C.width * x) / 2, C.y = (n - C.height * x) / 2;
|
|
39371
39371
|
}
|
|
39372
|
-
return f && dy(C, T.view), h && await py(C),
|
|
39372
|
+
return f && dy(C, T.view), h && await py(C), C;
|
|
39373
39373
|
}
|
|
39374
39374
|
function fy(s, t) {
|
|
39375
39375
|
let r = document.getElementById(s);
|
|
@@ -39415,7 +39415,7 @@ async function py(s) {
|
|
|
39415
39415
|
console.warn("Failed to start idle animation:", r);
|
|
39416
39416
|
}
|
|
39417
39417
|
}
|
|
39418
|
-
async function yy(
|
|
39418
|
+
async function yy() {
|
|
39419
39419
|
l2.registerTicker($r), Te.add(ka);
|
|
39420
39420
|
}
|
|
39421
39421
|
export {
|