diff --git a/src/components/image-editor/ImageCanvasGenerationComposerView.tsx b/src/components/image-editor/ImageCanvasGenerationComposerView.tsx index 313160036..e0a5406ae 100644 --- a/src/components/image-editor/ImageCanvasGenerationComposerView.tsx +++ b/src/components/image-editor/ImageCanvasGenerationComposerView.tsx @@ -1795,7 +1795,6 @@ export function ImageCanvasGenerationComposerView({ {quickEditPanel && quickEditSourceLayer && quickEditPanelStyle ? ( (null); - const sourceLayer: CanvasLayer = { - id: 'layer-a', - resourceId: 'resource-a', - title: '源图片', - src: '/source.png', - mediaType: 'image', - originalWidth: 1024, - originalHeight: 1024, - width: 512, - height: 512, - x: 0, - y: 0, - zIndex: 1, - sourceType: 'uploaded', - }; return panel ? (
; isReferenceMenuOpen?: boolean; @@ -93,7 +91,6 @@ function syncPanelFromDialogUpdate( export function ImageCanvasQuickEditPanelView({ panel, - sourceLayer, style, referenceButtonRef, isReferenceMenuOpen = false,