better offset
This commit is contained in:
parent
65ec427a0d
commit
56d31edf8e
1 changed files with 2 additions and 2 deletions
|
|
@ -204,7 +204,7 @@ class StitchingScanner:
|
||||||
x_offset = 0
|
x_offset = 0
|
||||||
|
|
||||||
# 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 = 0 - min(x_offset, w_base - blend_w)
|
||||||
|
|
||||||
self.log(f"=== _blend_horizontal_at_y (append_left) ===")
|
self.log(f"=== _blend_horizontal_at_y (append_left) ===")
|
||||||
self.log(f" base: {w_base}x{h_base}, strip: {w_strip}x{h_strip}")
|
self.log(f" base: {w_base}x{h_base}, strip: {w_strip}x{h_strip}")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue