Skip to content

Commit fdfce47

Browse files
committed
add "from" resolution for hires fix to be less confusing.
1 parent 983167e commit fdfce47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def calc_resolution_hires(enable, width, height, hr_scale, hr_resize_x, hr_resiz
267267
with devices.autocast():
268268
p.init([""], [0], [0])
269269

270-
return f"resize to: <span class='resolution'>{p.hr_upscale_to_x}x{p.hr_upscale_to_y}</span>"
270+
return f"resize: from <span class='resolution'>{width}x{height}</span> to <span class='resolution'>{p.hr_upscale_to_x}x{p.hr_upscale_to_y}</span>"
271271

272272

273273
def apply_styles(prompt, prompt_neg, style1_name, style2_name):

0 commit comments

Comments
 (0)