invert x offset

This commit is contained in:
2ManyProjects 2026-01-10 13:33:03 -06:00
parent 8dcd686add
commit 222e47ccfd

View file

@ -215,7 +215,7 @@ class StitchingScanner:
# Clamp x_offset to valid range # Clamp x_offset to valid range
# x_offset = max(0, min(x_offset, w_base - blend_w)) # x_offset = max(0, min(x_offset, w_base - blend_w))
x_offset = min(x_offset, w_base) x_offset = 0 - min(x_offset, w_base)
# Handle strip cropping if y_offset is negative (strip protrudes above frame) # Handle strip cropping if y_offset is negative (strip protrudes above frame)
strip_y_start = 0 # How much to crop from top of strip strip_y_start = 0 # How much to crop from top of strip