Skip to content

Commit

Permalink
修复仅开启炫彩功能的红蓝方冲突bug
Browse files Browse the repository at this point in the history
  • Loading branch information
WuYi5451 committed Oct 22, 2024
1 parent f743e8d commit 8f0b75f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public MyTeamMatchHistoryPanel() {
this.setLayout(new CardLayout());
JPanel jPanel = new JPanel();
jPanel.setBackground(ColorConstant.DARK_THREE);
jPanel.add(getMapSide(GameDataCache.myTeamMatchHistory.get(0).getMapSide()));
if (AppCache.settingPersistence.getPickSkin()) {
PickSkinBox pickSkinBox = new PickSkinBox();
pickSkinBox.setBackground(ColorConstant.DARK_THREE);
Expand All @@ -56,6 +55,7 @@ public MyTeamMatchHistoryPanel() {
jPanel.add(pickSkinBox);
}
if (AppCache.settingPersistence.getShowMatchHistory()) {
jPanel.add(getMapSide(GameDataCache.myTeamMatchHistory.get(0).getMapSide()));
for (TeamSummonerBO data : GameDataCache.myTeamMatchHistory) {
jPanel.add(new HorizontalDivider(this.getWidth() - 10));
MyTeamMatchHistoryLine builder = MyTeamMatchHistoryLine.builder(buildTeamLineData(data), this.getWidth());
Expand Down

0 comments on commit 8f0b75f

Please sign in to comment.