This commit is contained in:
bbaudio-2025
2025-07-17 20:35:18 +08:00
committed by GitHub
parent 48faf262ec
commit 27e1fb25f3
+2 -2
View File
@@ -518,9 +518,9 @@ class CustomCropArea:
},
{
'width_crop': width_upscale,
'height_crop': height_upscale - (3 * h - 3 * pad),
'height_crop': height_upscale - (3 * h - 3 * pad) - (height_upscale - 3 * h + 3 * pad)%16 + 16,
'offset_x': 0,
'offset_y': 3 * h - 3 * pad,
'offset_y': 3 * h - 3 * pad + (height_upscale - 3 * h + 3 * pad)%16 - 16,
'mask_left': 0,
'mask_right': 0,
'mask_top': pad,