feat(新功能): 修复结果图宽度异常问题

fix(修复bug):
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zhh
2025-09-16 11:47:19 +08:00
parent 16fbd5c5f2
commit ae338d9fc1
4 changed files with 21 additions and 5 deletions

View File

@@ -207,7 +207,7 @@ def update_base_size_priority(layers, size):
if info['name'] == 'mannequin':
new_height = info['image'].height
max_x = max(x_list)
new_width = max_x - min_x
new_width = max_x - min_x * 2
# 更新坐标
for info in layers:
info['adaptive_position'] = (info['position'][0], info['position'][1] - min_x)