Skip to content

Commit

Permalink
修复了 OPGG 英雄 build 标题登场率缺少百分号的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Aug 5, 2024
1 parent 55af076 commit 9e61496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/view/opgg_build_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def updateWidget(self, data):
self.winRateLabel.setText(f"{data['winRate']*100:.2f}%")

self.pickRateTextLabel.setText(self.tr("Pick Rate"))
self.pickRateLabel.setText(f"{data['pickRate']*100:.2f}")
self.pickRateLabel.setText(f"{data['pickRate']*100:.2f}%")

if banRate := data['banRate']:
self.banRateTextLabel.setText(self.tr("Ban Rate"))
Expand Down

0 comments on commit 9e61496

Please sign in to comment.