This commit is contained in:
baiqwerdvd 2024-12-24 16:41:25 +08:00
parent c536e20b69
commit a6b738a0bc
No known key found for this signature in database
GPG Key ID: 7717E46E1797411A

View File

@ -28,6 +28,7 @@ async def get_ann_img(data: BulletinData) -> str | bytes:
async def process_tag( async def process_tag(
elements: list[dict[str, Any]], elements: list[dict[str, Any]],
point: int, point: int,
init_point: int,
tag: element.Tag, tag: element.Tag,
): ):
space = 10 space = 10
@ -80,7 +81,7 @@ async def process_tag(
if elements: if elements:
pre_pos = elements[-1]["next_pos"] pre_pos = elements[-1]["next_pos"]
else: else:
pre_pos = 105 pre_pos = init_point
elements.append( elements.append(
{ {
"type": _type, "type": _type,