event.stopPropagation()}
onPointerDown={(event) => event.stopPropagation()}
@@ -511,7 +494,6 @@ export function CanvasNodePromptPanel({ projectId, node, isRunning, onPromptChan
{renderComposerHeader(false)}
{renderPromptEditor(false)}
- {cameraPanelOpen ? renderCameraPanel() : null}
{/* B区 参数区(对应 #98 决策2:默认折叠,手风琴展开)*/}
{hasVideoPromptTools ? (
@@ -558,7 +540,6 @@ export function CanvasNodePromptPanel({ projectId, node, isRunning, onPromptChan
{renderComposerHeader(true)}
{renderPromptEditor(true)}
- {cameraPanelOpen ? renderCameraPanel() : null}
{hasVideoPromptTools ? (
onConfigChange(node.id, patch)} />
@@ -573,29 +554,6 @@ export function CanvasNodePromptPanel({ projectId, node, isRunning, onPromptChan
);
}
-function CameraToolsPopover({ cameraControl, theme, compact, open, onOpenChange }: { cameraControl?: CameraControlOptions; theme: CanvasTheme; compact: boolean; open: boolean; onOpenChange: (open: boolean) => void }) {
- const cameraEnabled = cameraControl?.enabled === true;
- const active = open || cameraEnabled;
- return (
-
- );
-}
-
function ReferenceToolsPopover({ canAutoMention, autoLinkEnabled, onAutoMention, onAutoLinkEnabledChange, accent, compact }: { canAutoMention: boolean; autoLinkEnabled: boolean; onAutoMention: () => void; onAutoLinkEnabledChange: (enabled: boolean) => void; accent: string; compact: boolean }) {
return (
-
+
{!compact ? 引用 : null}