Skip to content

Commit

Permalink
About页面增加贡献者列表
Browse files Browse the repository at this point in the history
  • Loading branch information
rememberber committed Dec 6, 2024
1 parent 9262d49 commit c58c7e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions contributor.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"contributorList": [
{
"name": "felixcn",
"avatarUrl": "https://avatars.githubusercontent.com/u/19710433?v=4",
"link": "https://github.com/felixcn"
},
{
"name": "felixnan168",
"avatarUrl": "https://foruda.gitee.com/avatar/1705411203412474334/7696434_felixnan168_1705411203.png!avatar200",
"link": "https://gitee.com/felixnan168"
},
{
"name": "Lyp",
"avatarUrl": "https://foruda.gitee.com/avatar/1676999672844102767/2014361_l1yp_1605522970.png!avatar200",
"link": "https://gitee.com/L1yp"
},
{
"name": "sunsence",
"avatarUrl": "https://avatars.githubusercontent.com/u/17471768?v=4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void mouseEntered(MouseEvent e) {
contributorLabel.setText(contributor.getName());

Image image = ImgUtil.read(new URL(contributor.getAvatarUrl()));
Image scale = image.getScaledInstance(40, 40, Image.SCALE_AREA_AVERAGING);
Image scale = image.getScaledInstance(50, 50, Image.SCALE_AREA_AVERAGING);

contributorLabel.setIcon(new ImageIcon(scale));
contributorLabel.addMouseListener(new MouseAdapter() {
Expand Down

0 comments on commit c58c7e2

Please sign in to comment.