fix(scene-fusion): restore light UI and fix mode select overlay in dialog
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-03-06 00:10:10 +08:00
parent b1261dd0bf
commit 309c4c8e28
2 changed files with 451 additions and 884 deletions

View File

@ -19,15 +19,17 @@ interface SceneFusionDialogProps {
export function SceneFusionDialog({ open, onOpenChange, onBatchAddToCanvas }: SceneFusionDialogProps) { export function SceneFusionDialog({ open, onOpenChange, onBatchAddToCanvas }: SceneFusionDialogProps) {
return ( return (
<Dialog open={open} onOpenChange={onOpenChange}> <Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="z-[20000] max-w-6xl h-[92vh] flex flex-col p-0 gap-0 overflow-hidden !bg-white dark:!bg-zinc-950"> <DialogContent className="max-w-6xl h-[92vh] flex flex-col p-0 gap-0 overflow-hidden bg-white">
<DialogHeader className="sr-only"> <DialogHeader className="sr-only">
<DialogTitle>批量处理</DialogTitle> <DialogTitle>批量处理</DialogTitle>
<DialogDescription>批量处理图片与场景裂变。</DialogDescription> <DialogDescription>批量处理图片与场景裂变。</DialogDescription>
</DialogHeader> </DialogHeader>
<div className="relative flex-1 min-h-0"> <div className="h-full min-h-0 flex-1 bg-white">
<div className="absolute inset-0 bg-white dark:bg-zinc-950 pointer-events-none" /> <div className="h-full">
<div className="relative z-10 h-full"> <SceneFusionView
<SceneFusionView onBack={() => onOpenChange(false)} onBatchAddToCanvas={onBatchAddToCanvas} /> onBack={() => onOpenChange(false)}
onBatchAddToCanvas={onBatchAddToCanvas}
/>
</div> </div>
</div> </div>
</DialogContent> </DialogContent>

File diff suppressed because it is too large Load Diff