Skip to content

Commit

Permalink
Fix Issue rictic#4 - Circular Avatar not working with LocalAvatar
Browse files Browse the repository at this point in the history
  • Loading branch information
holzman committed Aug 1, 2012
1 parent 99e7c61 commit 6ee8f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/code_swarm.java
Expand Up @@ -1499,6 +1499,7 @@ class PersonNode extends Node {
String iconFile = avatarFetcher.fetchUserImage(name);
if (iconFile != null) {
icon = loadImage(iconFile, "unknown");
icon.resize(cfg.getPositiveIntProperty("AvatarSize"), cfg.getPositiveIntProperty("AvatarSize"));
if (circularAvatars)
icon.mask(avatarMask);
}
Expand Down

0 comments on commit 6ee8f9a

Please sign in to comment.