Browse Source

REPORT-80750 文件服务中的临时文件目录梳理和整改

1、将不必要共享的资源从assets迁移到其他目录
2、将过时资源从assets删除
feature/x
Link.Zhao 2 years ago
parent
commit
518e74dfaf
  1. 2
      designer-base/src/main/java/com/fr/design/gui/style/TranslucentBorderSpecialPane.java

2
designer-base/src/main/java/com/fr/design/gui/style/TranslucentBorderSpecialPane.java

@ -191,7 +191,7 @@ public class TranslucentBorderSpecialPane extends AbstractBorderPackerPane imple
String lastUsedBorderImageDirPath = history.getLastSelectedBorderImageDir(); String lastUsedBorderImageDirPath = history.getLastSelectedBorderImageDir();
File lastUsedBorderImageDir = StringUtils.isNotEmpty(lastUsedBorderImageDirPath) ? new File(lastUsedBorderImageDirPath) : null; File lastUsedBorderImageDir = StringUtils.isNotEmpty(lastUsedBorderImageDirPath) ? new File(lastUsedBorderImageDirPath) : null;
File inbuiltBorderImagesDir = new File(StableUtils.pathJoin(ProjectLibrary.getInstance().getLibHome(), ProjectConstants.ASSETS_NAME, "border_images")); File inbuiltBorderImagesDir = new File(StableUtils.pathJoin(ProjectLibrary.getInstance().getLibHome(), ProjectConstants.NOT_SHARE, ProjectConstants.BORDER_IMAGES));
if (lastUsedBorderImageDir!= null && lastUsedBorderImageDir.exists()) { if (lastUsedBorderImageDir!= null && lastUsedBorderImageDir.exists()) {
imageFileChooser.setCurrentDirectory(lastUsedBorderImageDir); imageFileChooser.setCurrentDirectory(lastUsedBorderImageDir);

Loading…
Cancel
Save