aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-05-27 14:27:51 -0400
committerbobzel <zzzman@gmail.com>2025-05-27 14:27:51 -0400
commit49fb76f1c54fb8fc4e76bdcf675719d41bfc36aa (patch)
tree9f220bf851daba3b61f5624e29a17aa9488f4f7a
parentb9f72afbc1a4238e1f29a1dd2b26a1cdf971e7e7 (diff)
canceling image outpaiting cancels outpaint ui from showing up now.
-rw-r--r--src/client/views/nodes/ImageBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index 7d130b4fb..6380dec17 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -369,6 +369,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
this.Document._width = origWidth;
this.Document._height = origHeight;
this._outpaintingInProgress = false;
+ this.Document[this.fieldKey + '_outpaintOriginalWidth'] = undefined;
this.closeOutpaintPrompt();
};