diff --git a/components/canvas/LiblibVideoCanvasReplica.tsx b/components/canvas/LiblibVideoCanvasReplica.tsx
index a79a3d90b..074a299b8 100644
--- a/components/canvas/LiblibVideoCanvasReplica.tsx
+++ b/components/canvas/LiblibVideoCanvasReplica.tsx
@@ -328,6 +328,11 @@ const CANVAS_EXTENT = 20000;
const OFFICIAL_NODE_GAP = 100;
const OFFICIAL_TEXT_RESOURCE_HEIGHT = 232;
const OFFICIAL_TEXT_RESOURCE_WIDTH = 350;
+const OFFICIAL_IMAGE_TOOLBAR_SCALE = 0.7;
+const OFFICIAL_COMPOSER_SCALE = 0.47;
+const PROMPT_COMPOSER_BASE_WIDTH = 895;
+const PROMPT_COMPOSER_BASE_HEIGHT = 286;
+const PRESET_COMPOSER_BASE_HEIGHT = 238;
const TARGET_AVATAR =
"https://liblibai-online.liblib.cloud/web/1656e2f1b3c74f1ba823b610f1b2cbdf/0c3eb5e2-1dc0-405c-a823-07b2570237f8.jpg?x-oss-process=image/resize,w_100,m_lfit/format,webp";
@@ -3154,15 +3159,24 @@ function CharacterPresetToolbar({
return (
<>
-
+
setToolbarMenu((current) => current === "panorama" ? null : "panorama")} />
setToolbarMenu((current) => current === "orbit" ? null : "orbit")} />
setToolbarMenu((current) => current === "lighting" ? null : "lighting")} />
@@ -3287,16 +3301,20 @@ function PresetFloatingToolbar({
anchor?: PresetControlAnchor;
items: Array<[string, string]>;
}) {
- return (
-
+ return (
+
{items.map(([label, message]) => (
- );
+ return (
+
+
+
toast.info("展开提示词编辑器待接入。")} type="button">↗
+
+
{title}
+ {thumbnailUrl ? (
+
+

+
+ ) : null}
+
+
+
+ );
}
function CharacterThreeViewScene() {
@@ -3848,14 +3882,29 @@ function PromptComposer({
return (
+
toast.info("展开提示词编辑器待接入。")} type="button">↗
{[
@@ -3926,32 +3975,33 @@ function PromptComposer({
value={prompt}
/>
-
-
setMenu((current) => current === "model" ? null : "model")} />
- setMenu((current) => current === "ratio" ? null : "ratio")} />
- setMenu((current) => current === "resolution" ? null : "resolution")} />
- setMenu((current) => current === "camera" ? null : "camera")} />
- setMenu((current) => current === "panorama" ? null : "panorama")} />
- setMenu((current) => current === "translate" ? null : "translate")} />
- setMenu((current) => current === "settings" ? null : "settings")} />
- setMenu((current) => current === "count" ? null : "count")} />
- toast.info("积分估算接口待接入。")} />
-
- onSubmit
- ? onSubmit({
- prompt,
- references,
- settings,
- slashScene,
- })
- : toast.info("角色三视图生成接口待接入。")
- }
- type="button"
- >
- ↑
-
+
+ setMenu((current) => current === "model" ? null : "model")} />
+ setMenu((current) => current === "ratio" ? null : "ratio")} />
+ setMenu((current) => current === "resolution" ? null : "resolution")} />
+ setMenu((current) => current === "camera" ? null : "camera")} />
+ setMenu((current) => current === "panorama" ? null : "panorama")} />
+ setMenu((current) => current === "translate" ? null : "translate")} />
+ setMenu((current) => current === "settings" ? null : "settings")} />
+ setMenu((current) => current === "count" ? null : "count")} />
+ toast.info("积分估算接口待接入。")} />
+
+ onSubmit
+ ? onSubmit({
+ prompt,
+ references,
+ settings,
+ slashScene,
+ })
+ : toast.info("角色三视图生成接口待接入。")
+ }
+ type="button"
+ >
+ ↑
+
+
);