This commit is contained in:
2024-09-20 00:40:41 +02:00
parent c33502fc63
commit cc4d2d8efa

View File

@@ -1,6 +1,3 @@
import * as PIXI from "./node_modules/pixi.js/dist/pixi.min.mjs";
import { Live2DModel } from "./node_modules/pixi-live2d-display/dist/index.js";
function ap_init() {
$(".aplayer-body").addClass("my-hide");
ap.lrc.hide(); //初始化时隐藏歌词
@@ -225,8 +222,6 @@ function loadWidget() {
loadModel(index, 0, modelList.messages[index]);
}
window.PIXI = PIXI;
async function loadModelPixi(id, jsonpath) {
const element = document.getElementById(id);
const app = new PIXI.Application({