mirror of
https://github.com/Buriburizaem0n/live2d.git
synced 2026-02-04 19:40:01 +00:00
error
This commit is contained in:
@@ -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() {
|
function ap_init() {
|
||||||
$(".aplayer-body").addClass("my-hide");
|
$(".aplayer-body").addClass("my-hide");
|
||||||
ap.lrc.hide(); //初始化时隐藏歌词
|
ap.lrc.hide(); //初始化时隐藏歌词
|
||||||
@@ -225,8 +222,6 @@ function loadWidget() {
|
|||||||
loadModel(index, 0, modelList.messages[index]);
|
loadModel(index, 0, modelList.messages[index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.PIXI = PIXI;
|
|
||||||
|
|
||||||
async function loadModelPixi(id, jsonpath) {
|
async function loadModelPixi(id, jsonpath) {
|
||||||
const element = document.getElementById(id);
|
const element = document.getElementById(id);
|
||||||
const app = new PIXI.Application({
|
const app = new PIXI.Application({
|
||||||
|
|||||||
Reference in New Issue
Block a user