forked from External/mage
Fixed that the flag on avatar image could be to big.
This commit is contained in:
parent
ad4b68dcb5
commit
f87c5bbbec
2 changed files with 17 additions and 2 deletions
|
|
@ -287,7 +287,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
|
|||
avatar.setText(this.player.getName());
|
||||
if (!player.getUserData().getFlagName().equals(flagName)) {
|
||||
flagName = player.getUserData().getFlagName();
|
||||
this.avatar.setTopTextImage(CountryUtil.getCountryFlagIcon(flagName).getImage());
|
||||
this.avatar.setTopTextImage(CountryUtil.getCountryFlagIconSize(flagName, 11).getImage());
|
||||
}
|
||||
// TODO: Add the wins to the tooltiptext of the avatar
|
||||
String countryname = CountryUtil.getCountryName(flagName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue