feat 结果图宽度自适应

fix
This commit is contained in:
zhouchengrong
2024-08-02 17:12:34 +08:00
parent 3a0e175e61
commit 281f812636
2 changed files with 8 additions and 8 deletions

View File

@@ -191,5 +191,5 @@ def update_base_size_priority(layers, size):
new_height = 700
# 更新坐标
for info in layers:
info['position'] = (info['position'][0], info['position'][1] - min_x)
info['adaptive_position'] = (info['position'][0], info['position'][1] - min_x)
return layers, (new_width, new_height)