diff options
author | bobzel <zzzman@gmail.com> | 2025-04-28 15:43:21 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-04-28 15:43:21 -0400 |
commit | efa1501b38aa71f306ae0717afc86f0803c71be2 (patch) | |
tree | fd2fc9a615b5f374f1a17d7fc6ef49e35f639611 /src/client/views/nodes/ImageBox.tsx | |
parent | a25dc02334de3f5b58aff1911bdae30d49a1d26b (diff) |
fix for outpainting alignment
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 197ef0998..004c2da44 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -444,6 +444,8 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { this.Document.$ai = true; this.Document.$ai_outpainted = true; this.Document.$ai_outpaint_prompt = customPrompt; + this.Document._outpaintingOriginalWidth = undefined; + this.Document._outpaintingOriginalHeight = undefined; } else { this.Document._width = origWidth; this.Document._height = origHeight; |