修复字幕Y轴偏移修改后设置参数设置失败的BUG
This commit is contained in:
parent
f12879faa8
commit
edd75d1cc0
|
@ -1577,6 +1577,8 @@ export namespace Protocol {
|
||||||
this.rpc_id = rcp_id ?? 0;
|
this.rpc_id = rcp_id ?? 0;
|
||||||
this.command = Protocol.Commands.kRpcSetSubtitle;
|
this.command = Protocol.Commands.kRpcSetSubtitle;
|
||||||
this.subtitle = subtitle ?? new SubtitleEntity();
|
this.subtitle = subtitle ?? new SubtitleEntity();
|
||||||
|
|
||||||
|
this.subtitle.y_offset = parseInt(<any>this.subtitle.y_offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue