Skip to content

Commit

Permalink
fix: merged region
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Aug 14, 2022
1 parent 91d3e5a commit 2ef659a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GZCTF/Utils/ExcelHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private static void WriteTeamHeader(ISheet sheet, ICellStyle style, ScoreboardMo
colIndex++;
}

sheet.AddMergedRegion(CellRangeAddress.ValueOf($"A{colIndex - 1}:A{colIndex - 1 + teamMemberCount}"));
sheet.AddMergedRegion(new CellRangeAddress(0, 0, colIndex - 1, colIndex - 1 + teamMemberCount));
}

private static void WriteTeamContent(ISheet sheet, ScoreboardModel scoreboard)
Expand Down

0 comments on commit 2ef659a

Please sign in to comment.