fix(pet): resolve bundled sprite asset directly
这个提交存在于:
父节点
6adf752c3a
当前提交
610e21c995
共有 1 个文件被更改,包括 2 次插入 和 4 次删除
|
|
@ -7,6 +7,7 @@ import { StatusBubble } from "./features/chat/StatusBubble";
|
|||
import { ProfileManager } from "./features/profiles/ProfileManager";
|
||||
import { PetPackImporter } from "./features/pet/PetPackImporter";
|
||||
import { connectionRuntimeStatusSchema } from "./features/chat/types";
|
||||
import aemeathSpritesheet from "./features/pet/assets/aemeath/aemeath-spritesheet.webp";
|
||||
import { bootstrapStatusSchema, type BootstrapStatus } from "./types/bootstrap";
|
||||
|
||||
type PageKey = "chat" | "connections" | "desktop" | "pet" | "diagnostics";
|
||||
|
|
@ -21,10 +22,7 @@ const initialStatus: BootstrapStatus = {
|
|||
databaseSchemaVersion: 4,
|
||||
};
|
||||
|
||||
const AEMEATH_SPRITESHEET = new URL(
|
||||
"./features/pet/assets/aemeath/aemeath-spritesheet.webp",
|
||||
import.meta.url,
|
||||
).href;
|
||||
const AEMEATH_SPRITESHEET = aemeathSpritesheet;
|
||||
|
||||
const AEMEATH_FRAMES: Record<"idle" | "working" | "resting" | "speaking" | "error", number[]> = {
|
||||
idle: [0, 1, 2, 3, 4, 5],
|
||||
|
|
|
|||
正在加载…
添加表格
在新工单中引用