From efa1501b38aa71f306ae0717afc86f0803c71be2 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 28 Apr 2025 15:43:21 -0400 Subject: fix for outpainting alignment --- src/client/views/nodes/ImageBox.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/views/nodes/ImageBox.tsx') 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() { 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; -- cgit v1.2.3-70-g09d2