Remove overlapping video canvas badge
This commit is contained in:
parent
f6b9a6f73b
commit
b62c97dcde
@ -418,8 +418,6 @@ const AGENT_RESULT_MODE_LABELS: Record<AgentGenerationResultModeType, string> =
|
|||||||
detail_replacement: "细节替换",
|
detail_replacement: "细节替换",
|
||||||
sku_replacement: "SKU 替换",
|
sku_replacement: "SKU 替换",
|
||||||
};
|
};
|
||||||
const VIDEO_CANVAS_FLOATING_PILL_CLASS =
|
|
||||||
"rounded-full border border-border/60 bg-background/95 px-3.5 py-1.5 text-xs font-medium text-foreground shadow-sm backdrop-blur-xl supports-[backdrop-filter]:bg-background/80";
|
|
||||||
const VIDEO_CANVAS_PANEL_CLASS =
|
const VIDEO_CANVAS_PANEL_CLASS =
|
||||||
"pointer-events-auto overflow-hidden rounded-[28px] border border-border/60 bg-background/94 shadow-2xl backdrop-blur-xl supports-[backdrop-filter]:bg-background/80";
|
"pointer-events-auto overflow-hidden rounded-[28px] border border-border/60 bg-background/94 shadow-2xl backdrop-blur-xl supports-[backdrop-filter]:bg-background/80";
|
||||||
const VIDEO_CANVAS_PANEL_BADGE_CLASS =
|
const VIDEO_CANVAS_PANEL_BADGE_CLASS =
|
||||||
@ -7087,14 +7085,6 @@ export default function CanvasEditorPage({ params }: PageProps) {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{isVideoMode ? (
|
|
||||||
<div className="pointer-events-none absolute left-4 top-4 z-20">
|
|
||||||
<div className={VIDEO_CANVAS_FLOATING_PILL_CLASS}>
|
|
||||||
视频画布
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
) : null}
|
|
||||||
|
|
||||||
{isVideoMode &&
|
{isVideoMode &&
|
||||||
selectedVideoWorkflowDefinition &&
|
selectedVideoWorkflowDefinition &&
|
||||||
(selectedVideoWorkflowQuickConnects.length > 0 || selectedWorkflowIsActionable) ? (
|
(selectedVideoWorkflowQuickConnects.length > 0 || selectedWorkflowIsActionable) ? (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user