mirror of
https://github.com/Buriburizaem0n/live2d.git
synced 2026-02-04 03:20:02 +00:00
added target
This commit is contained in:
@@ -227,6 +227,8 @@ function loadWidget() {
|
||||
localStorage.setItem("modelId", modelId);
|
||||
localStorage.setItem("modelTexturesId", modelTexturesId);
|
||||
showMessage(message, 4000, 10);
|
||||
if (!modelList) await loadModelList();
|
||||
let target = modelList.models[modelId];
|
||||
const jsonpath = `${live2d_path}model/${target}/index.json`;
|
||||
const element = document.getElementById(modelId);
|
||||
const app = new PIXI.Application({
|
||||
|
||||
Reference in New Issue
Block a user