修改检测的最小尺寸
parent
d23e24a8a0
commit
e333df87b4
|
|
@ -61,10 +61,10 @@ def parse_psd(path):
|
||||||
break
|
break
|
||||||
|
|
||||||
if is_activity_main_psd:
|
if is_activity_main_psd:
|
||||||
if max_width < 1080:
|
if max_width < 1024:
|
||||||
log.append("玩法活动背景过小,宽度不能小于1080")
|
log.append("玩法活动背景过小,宽度不能小于1024")
|
||||||
if max_height < 2700:
|
if max_height < 2560:
|
||||||
log.append("玩法活动背景过小,高度不能小于2700")
|
log.append("玩法活动背景过小,高度不能小于2560")
|
||||||
|
|
||||||
for item in psd.descendants():
|
for item in psd.descendants():
|
||||||
if not item.is_group():
|
if not item.is_group():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue