chore(ui): sync manual updates for image editor and canvas image node
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-02-22 15:27:51 +08:00
parent 3105e8f26f
commit d146fa1989
2 changed files with 636 additions and 590 deletions

View File

@ -2022,6 +2022,8 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) {
imageUrl={data.src}
onConfirm={handleAnnotateComplete}
onCancel={() => setAnnotatorOpen(false)}
open={annotatorOpen}
onOpenChange={setAnnotatorOpen}
/>
)}
@ -2032,6 +2034,8 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) {
confirmButtonText="发送到对话"
onConfirm={handleResizeEditorComplete}
onCancel={() => setResizeAnnotatorOpen(false)}
open={resizeAnnotatorOpen}
onOpenChange={setResizeAnnotatorOpen}
/>
)}

File diff suppressed because it is too large Load Diff