From 27e1fb25f3aa395402bb32ec667ff00a7414d5cb Mon Sep 17 00:00:00 2001 From: bbaudio-2025 <1953761458@qq.com> Date: Thu, 17 Jul 2025 20:35:18 +0800 Subject: [PATCH] bug fix --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 9c590ac..b234b6f 100644 --- a/nodes.py +++ b/nodes.py @@ -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,