修改检测的最小尺寸

main
程祎 2023-11-06 14:39:49 +08:00
parent d23e24a8a0
commit e333df87b4
1 changed files with 4 additions and 4 deletions

View File

@ -61,10 +61,10 @@ def parse_psd(path):
break
if is_activity_main_psd:
if max_width < 1080:
log.append("玩法活动背景过小宽度不能小于1080")
if max_height < 2700:
log.append("玩法活动背景过小高度不能小于2700")
if max_width < 1024:
log.append("玩法活动背景过小宽度不能小于1024")
if max_height < 2560:
log.append("玩法活动背景过小高度不能小于2560")
for item in psd.descendants():
if not item.is_group():