Browse Source

REPORT-38571 【回归】mac下服务器图标变模糊

1. bug原因:原来的图标在高清屏下被放大了,所以显得模糊
2. 修改:将服务器打开和关闭的图片由原来的16*16替换为32*32,并进行了一定的缩小
feature/big-screen
Yvan 4 years ago
parent
commit
e538d99184
  1. 6
      designer-base/src/main/java/com/fr/start/server/ServerTray.java

6
designer-base/src/main/java/com/fr/start/server/ServerTray.java

@ -29,9 +29,9 @@ public class ServerTray {
private MenuItem stopMenu; private MenuItem stopMenu;
private Image trayStartedImage = BaseUtils.readImage("/com/fr/base/images/oem/trayStarted.png"); private Image trayStartedImage = BaseUtils.readImage("/com/fr/base/images/oem/trayStarted@2x.png");
private Image trayStoppedImage = BaseUtils.readImage("/com/fr/base/images/oem/trayStopped.png"); private Image trayStoppedImage = BaseUtils.readImage("/com/fr/base/images/oem/trayStopped@2x.png");
private ServerManageFrame serverManageFrame; private ServerManageFrame serverManageFrame;
@ -188,4 +188,4 @@ public class ServerTray {
} }
}); });
} }
} }

Loading…
Cancel
Save