rework hires fix preview for #6437: movie it to where it takes less place, make it actually account for all relevant sliders and calculate dimensions correctly

This commit is contained in:
AUTOMATIC
2023-01-07 09:56:37 +03:00
parent de97380445
commit 1a5b86ad65
4 changed files with 52 additions and 14 deletions

View File

@@ -711,7 +711,6 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
self.truncate_x = 0
self.truncate_y = 0
def init(self, all_prompts, all_seeds, all_subseeds):
if self.enable_hr:
if self.hr_resize_x == 0 and self.hr_resize_y == 0: