Browse Source

REPORT-58629 移动下类的位置

persist/11.0
hades 3 years ago
parent
commit
0c72993994
  1. 2
      designer-base/src/main/java/com/fr/design/locale/impl/DoubleSplashMark.java
  2. 3
      designer-realize/src/main/java/com/fr/start/common/SplashPane4WinAndJDK11.java

2
designer-base/src/main/java/com/fr/design/locale/DoubleSplashMark.java → designer-base/src/main/java/com/fr/design/locale/impl/DoubleSplashMark.java

@ -1,4 +1,4 @@
package com.fr.design.locale; package com.fr.design.locale.impl;
import com.fr.design.DesignerEnvManager; import com.fr.design.DesignerEnvManager;
import com.fr.general.locale.LocaleMark; import com.fr.general.locale.LocaleMark;

3
designer-realize/src/main/java/com/fr/start/common/SplashPane4WinAndJDK11.java

@ -2,6 +2,7 @@ package com.fr.start.common;
import com.bulenkov.iconloader.IconLoader; import com.bulenkov.iconloader.IconLoader;
import com.fr.base.BaseUtils; import com.fr.base.BaseUtils;
import com.fr.design.locale.impl.DoubleSplashMark;
import com.fr.design.locale.impl.SplashMark; import com.fr.design.locale.impl.SplashMark;
import com.fr.general.IOUtils; import com.fr.general.IOUtils;
import com.fr.general.locale.LocaleCenter; import com.fr.general.locale.LocaleCenter;
@ -34,7 +35,7 @@ public class SplashPane4WinAndJDK11 extends SplashPane{
private String getSplashPath4WinAndJdk11() { private String getSplashPath4WinAndJdk11() {
String path = (String) LocaleCenter.getMark(SplashMark.class).getValue(); String path = (String) LocaleCenter.getMark(SplashMark.class).getValue();
String pathOfDouble = (String) LocaleCenter.getMark(SplashMark.class).getValue(); String pathOfDouble = (String) LocaleCenter.getMark(DoubleSplashMark.class).getValue();
// 为图片加上"@2x" // 为图片加上"@2x"
// 某些定制jar里面没有两倍图,判断一下,如果文件不存在,就返回一倍图的path // 某些定制jar里面没有两倍图,判断一下,如果文件不存在,就返回一倍图的path
if (IOUtils.readResource(pathOfDouble) != null) { if (IOUtils.readResource(pathOfDouble) != null) {

Loading…
Cancel
Save