better offset

This commit is contained in:
2ManyProjects 2026-01-10 01:40:52 -06:00
parent 65ec427a0d
commit 56d31edf8e

View file

@ -204,7 +204,7 @@ class StitchingScanner:
x_offset = 0
# Clamp x_offset to valid range
x_offset = max(0, min(x_offset, w_base - blend_w))
x_offset = 0 - min(x_offset, w_base - blend_w)
self.log(f"=== _blend_horizontal_at_y (append_left) ===")
self.log(f" base: {w_base}x{h_base}, strip: {w_strip}x{h_strip}")