修复变量名使用错误的问题

This commit is contained in:
ljqing 2022-12-30 11:52:13 +08:00
parent bc7efd6185
commit 3519d2bf6e
2 changed files with 5 additions and 5 deletions

View File

@ -1410,7 +1410,7 @@ export default class ClientConnection {
public async SetBlendingOverlap( public async SetBlendingOverlap(
row: number, row: number,
column: number, column: number,
location: number, location: number,
enable: boolean, enable: boolean,
width: number width: number
) { ) {
@ -1418,7 +1418,7 @@ export default class ClientConnection {
new Protocol.SetBlendingOverlapRequestEntity( new Protocol.SetBlendingOverlapRequestEntity(
row, row,
column, column,
location, location,
enable, enable,
width width
) )

View File

@ -3304,7 +3304,7 @@ export namespace Protocol {
super.flag = PacketEntity.FLAG_REQUEST; super.flag = PacketEntity.FLAG_REQUEST;
super.rpc_id = rpc_id; super.rpc_id = rpc_id;
this.enable = row ?? false; this.enable = enable ?? false;
} }
enable = false; enable = false;
} }
@ -3326,12 +3326,12 @@ export namespace Protocol {
this.row = row ?? 0; this.row = row ?? 0;
this.column = column ?? 0; this.column = column ?? 0;
this.location = location ?? 0; this.location = location ?? 0;
this.enable = row ?? false; this.enable = enable ?? false;
this.width = width ?? 0; this.width = width ?? 0;
} }
row = 0; row = 0;
column = 0; column = 0;
location = 0; //0左融合带1上融合带2右融合带3下融合带 location = 0; //0左融合带1上融合带2右融合带3下融合带
enable = false; enable = false;
width = 0; width = 0;
} }