chore(ui): sync manual updates for image editor and canvas image node
This commit is contained in:
parent
3105e8f26f
commit
d146fa1989
@ -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
Loading…
x
Reference in New Issue
Block a user