Skip to content

Commit bfc62ba

Browse files
Fix import name
1 parent 4cb4a10 commit bfc62ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/login.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h1 class="h3 mb-3 fw-normal">看板娘登陆平台</h1>
166166
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
167167
* GNU General Public License for more details.
168168
*/
169-
import { Model } from "../build/index.js";
169+
import { Cubism2Model } from "../build/index.js";
170170
document.getElementById("text").innerHTML = `<span style="color: cyan;">MIMI</span><span style="color: white;">POWERED</span>`.repeat(10);
171171
window.addEventListener("load", () => {
172172
if (!CSS.supports("clip-path", "circle(120px at center)")) {
@@ -176,7 +176,7 @@ <h1 class="h3 mb-3 fw-normal">看板娘登陆平台</h1>
176176

177177
const apiPath = "https://live2d.fghrsh.net/api";
178178
let state = 0, loading = false, modelInitialized = false;
179-
const model = new Model();
179+
const model = new Cubism2Model();
180180
const modelId = 1;
181181
let modelTexturesId = 0;
182182
loadModel();

0 commit comments

Comments
 (0)